Fix ARM debug build
authorsgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 4 Nov 2009 15:24:11 +0000 (15:24 +0000)
committersgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 4 Nov 2009 15:24:11 +0000 (15:24 +0000)
TBR=fschneider@chromium.org

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3216 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

src/arm/fast-codegen-arm.cc

index 6de8194..cca9471 100644 (file)
@@ -142,14 +142,14 @@ void FastCodeGenerator::EmitReturnSequence(int position) {
     __ add(sp, sp, Operand(sp_delta));
     __ Jump(lr);
 
-  // Check that the size of the code used for returning matches what is
-  // expected by the debugger. The add instruction above is an addressing
-  // mode 1 instruction where there are restrictions on which immediate values
-  // can be encoded in the instruction and which immediate values requires
-  // use of an additional instruction for moving the immediate to a temporary
-  // register.
-  ASSERT_EQ(expected_return_sequence_length,
-            masm_->InstructionsGeneratedSince(&check_exit_codesize));
+    // Check that the size of the code used for returning matches what is
+    // expected by the debugger. The add instruction above is an addressing
+    // mode 1 instruction where there are restrictions on which immediate values
+    // can be encoded in the instruction and which immediate values requires
+    // use of an additional instruction for moving the immediate to a temporary
+    // register.
+    ASSERT_EQ(return_sequence_length,
+              masm_->InstructionsGeneratedSince(&check_exit_codesize));
   }
 }