Author: [email protected]
Date: Mon Mar  9 01:42:21 2009
New Revision: 1442

Modified:
    branches/bleeding_edge/src/assembler-ia32-inl.h
    branches/bleeding_edge/src/heap-inl.h

Log:
Minor changes to allow V8 to build on Ubuntu Jaunty.
Review URL: http://codereview.chromium.org/40289

Modified: branches/bleeding_edge/src/assembler-ia32-inl.h
==============================================================================
--- branches/bleeding_edge/src/assembler-ia32-inl.h     (original)
+++ branches/bleeding_edge/src/assembler-ia32-inl.h     Mon Mar  9 01:42:21 2009
@@ -279,7 +279,8 @@

  void Operand::set_dispr(int32_t disp, RelocInfo::Mode rmode) {
    ASSERT(len_ == 1 || len_ == 2);
-  *reinterpret_cast<int32_t*>(&buf_[len_]) = disp;
+  int32_t* p = reinterpret_cast<int32_t*>(&buf_[len_]);
+  *p = disp;
    len_ += sizeof(int32_t);
    rmode_ = rmode;
  }

Modified: branches/bleeding_edge/src/heap-inl.h
==============================================================================
--- branches/bleeding_edge/src/heap-inl.h       (original)
+++ branches/bleeding_edge/src/heap-inl.h       Mon Mar  9 01:42:21 2009
@@ -262,7 +262,7 @@


  #define CALL_HEAP_FUNCTION_VOID(FUNCTION_CALL) \
-  CALL_AND_RETRY(FUNCTION_CALL, , )
+  CALL_AND_RETRY(FUNCTION_CALL, ;, ;)


  #ifdef DEBUG

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to