Revision: 3214
Author: [email protected]
Date: Wed Nov  4 06:33:37 2009
Log: Fix compilation error in debug build for IA-32 and ARM.

[email protected]
Review URL: http://codereview.chromium.org/361005
http://code.google.com/p/v8/source/detail?r=3214

Modified:
  /branches/bleeding_edge/src/arm/fast-codegen-arm.cc
  /branches/bleeding_edge/src/ia32/fast-codegen-ia32.cc

=======================================
--- /branches/bleeding_edge/src/arm/fast-codegen-arm.cc Wed Nov  4 06:11:39  
2009
+++ /branches/bleeding_edge/src/arm/fast-codegen-arm.cc Wed Nov  4 06:33:37  
2009
@@ -130,7 +130,6 @@
      int num_parameters = function_->scope()->num_parameters();
      __ add(sp, sp, Operand((num_parameters + 1) * kPointerSize));
      __ Jump(lr);
-  }
  #ifdef DEBUG
    // Check that the size of the code used for returning matches what is
    // expected by the debugger. The add instruction above is an addressing
@@ -147,6 +146,7 @@
    ASSERT_EQ(expected_return_sequence_length,
              masm_->InstructionsGeneratedSince(&check_exit_codesize));
  #endif
+  }
  }


=======================================
--- /branches/bleeding_edge/src/ia32/fast-codegen-ia32.cc       Wed Nov  4  
06:11:39 2009
+++ /branches/bleeding_edge/src/ia32/fast-codegen-ia32.cc       Wed Nov  4  
06:33:37 2009
@@ -30,6 +30,7 @@
  #include "codegen-inl.h"
  #include "fast-codegen.h"
  #include "parser.h"
+#include "debug.h"

  namespace v8 {
  namespace internal {

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

Reply via email to