Reviewers: fschneider, Description: Fix ARM debug build
[email protected] Please review this at http://codereview.chromium.org/366001 SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/ Affected files: src/arm/fast-codegen-arm.cc Index: src/arm/fast-codegen-arm.cc =================================================================== --- src/arm/fast-codegen-arm.cc (revision 3215) +++ src/arm/fast-codegen-arm.cc (working copy) @@ -142,14 +142,14 @@ __ 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)); } } --~--~---------~--~----~------------~-------~--~----~ v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev -~----------~----~----~----~------~----~------~--~---
