Fix compilation error in debug build for IA-32 and ARM.

TBR=sgjesse@chromium.org
Review URL: http://codereview.chromium.org/361005

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3214 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
fschneider@chromium.org 2009-11-04 14:33:37 +00:00
parent ff0d885b95
commit 3db5a2e981
2 changed files with 2 additions and 1 deletions

View File

@ -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
}
}

View File

@ -30,6 +30,7 @@
#include "codegen-inl.h"
#include "fast-codegen.h"
#include "parser.h"
#include "debug.h"
namespace v8 {
namespace internal {