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:
parent
ff0d885b95
commit
3db5a2e981
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user