Fix presubmit errors

TBR=erik.corry@gmail.com
Review URL: http://codereview.chromium.org/1736018

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4509 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
sgjesse@chromium.org 2010-04-27 09:23:33 +00:00
parent 3470a0c9c0
commit 2e1298944f

View File

@ -354,8 +354,8 @@ void CodeGenerator::Generate(CompilationInfo* info) {
#ifdef DEBUG #ifdef DEBUG
// Check that the size of the code used for returning matches what is // Check that the size of the code used for returning matches what is
// expected by the debugger. If the sp_delts above cannot be encoded in the // expected by the debugger. If the sp_delts above cannot be encoded in
// add instruction the add will generate two instructions. // the add instruction the add will generate two instructions.
int return_sequence_length = int return_sequence_length =
masm_->InstructionsGeneratedSince(&check_exit_codesize); masm_->InstructionsGeneratedSince(&check_exit_codesize);
CHECK(return_sequence_length == Assembler::kJSReturnSequenceLength || CHECK(return_sequence_length == Assembler::kJSReturnSequenceLength ||
@ -5246,7 +5246,6 @@ void DeferredReferenceGetNamedValue::Generate() {
// The rest of the instructions in the deferred code must be together. // The rest of the instructions in the deferred code must be together.
{ Assembler::BlockConstPoolScope block_const_pool(masm_); { Assembler::BlockConstPoolScope block_const_pool(masm_);
Handle<Code> ic(Builtins::builtin(Builtins::LoadIC_Initialize)); Handle<Code> ic(Builtins::builtin(Builtins::LoadIC_Initialize));
__ Call(ic, RelocInfo::CODE_TARGET); __ Call(ic, RelocInfo::CODE_TARGET);
// The call must be followed by a nop(1) instruction to indicate that the // The call must be followed by a nop(1) instruction to indicate that the