diff --git a/src/arm/fast-codegen-arm.cc b/src/arm/fast-codegen-arm.cc index 21e4791493..d4018caa06 100644 --- a/src/arm/fast-codegen-arm.cc +++ b/src/arm/fast-codegen-arm.cc @@ -130,7 +130,6 @@ void FastCodeGenerator::EmitReturnSequence(int position) { 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 @@ void FastCodeGenerator::EmitReturnSequence(int position) { ASSERT_EQ(expected_return_sequence_length, masm_->InstructionsGeneratedSince(&check_exit_codesize)); #endif + } } diff --git a/src/ia32/fast-codegen-ia32.cc b/src/ia32/fast-codegen-ia32.cc index 6c0a814a3e..24ad862998 100644 --- a/src/ia32/fast-codegen-ia32.cc +++ b/src/ia32/fast-codegen-ia32.cc @@ -30,6 +30,7 @@ #include "codegen-inl.h" #include "fast-codegen.h" #include "parser.h" +#include "debug.h" namespace v8 { namespace internal {