Commit of eval changes left out because they were stuck in another changelist.
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1307 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
1c0ebb7e1c
commit
195753ff7b
@ -418,10 +418,10 @@ MemOperand CodeGenerator::ContextSlotOperandCheckExtensions(Slot* slot,
|
||||
}
|
||||
}
|
||||
// Check that last extension is NULL.
|
||||
__ ldr(tmp2, ContextOperand(tmp, Context::EXTENSION_INDEX));
|
||||
__ ldr(tmp2, ContextOperand(context, Context::EXTENSION_INDEX));
|
||||
__ tst(tmp2, tmp2);
|
||||
__ b(ne, slow);
|
||||
__ ldr(tmp, ContextOperand(tmp, Context::FCONTEXT_INDEX));
|
||||
__ ldr(tmp, ContextOperand(context, Context::FCONTEXT_INDEX));
|
||||
return ContextOperand(tmp, index);
|
||||
}
|
||||
|
||||
|
@ -469,9 +469,9 @@ Operand CodeGenerator::ContextSlotOperandCheckExtensions(Slot* slot,
|
||||
}
|
||||
}
|
||||
// Check that last extension is NULL.
|
||||
__ cmp(ContextOperand(tmp, Context::EXTENSION_INDEX), Immediate(0));
|
||||
__ cmp(ContextOperand(context, Context::EXTENSION_INDEX), Immediate(0));
|
||||
__ j(not_equal, slow, not_taken);
|
||||
__ mov(tmp, ContextOperand(tmp, Context::FCONTEXT_INDEX));
|
||||
__ mov(tmp, ContextOperand(context, Context::FCONTEXT_INDEX));
|
||||
return ContextOperand(tmp, index);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user