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
parent ff0d885b
......@@ -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
}
}
......
......@@ -30,6 +30,7 @@
#include "codegen-inl.h"
#include "fast-codegen.h"
#include "parser.h"
#include "debug.h"
namespace v8 {
namespace internal {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment