Fix presubmit errors.
TBR=svenpanne@chromium.org Review URL: https://chromiumcodereview.appspot.com/9309079 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@10598 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
0ec7773680
commit
aa4b77d761
@ -797,7 +797,9 @@ LUnallocated* LChunkBuilder::TempRegister() {
|
|||||||
LUnallocated* operand =
|
LUnallocated* operand =
|
||||||
new(zone()) LUnallocated(LUnallocated::MUST_HAVE_REGISTER);
|
new(zone()) LUnallocated(LUnallocated::MUST_HAVE_REGISTER);
|
||||||
operand->set_virtual_register(allocator_->GetVirtualRegister());
|
operand->set_virtual_register(allocator_->GetVirtualRegister());
|
||||||
if (!allocator_->AllocationOk()) Abort("Not enough virtual registers (temps).");
|
if (!allocator_->AllocationOk()) {
|
||||||
|
Abort("Not enough virtual registers (temps).");
|
||||||
|
}
|
||||||
return operand;
|
return operand;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -855,7 +855,7 @@ void LAllocator::MeetConstraintsBetween(LInstruction* first,
|
|||||||
|
|
||||||
LUnallocated* input_copy = cur_input->CopyUnconstrained();
|
LUnallocated* input_copy = cur_input->CopyUnconstrained();
|
||||||
cur_input->set_virtual_register(GetVirtualRegister());
|
cur_input->set_virtual_register(GetVirtualRegister());
|
||||||
if(!AllocationOk()) return;
|
if (!AllocationOk()) return;
|
||||||
|
|
||||||
if (RequiredRegisterKind(input_copy->virtual_register()) ==
|
if (RequiredRegisterKind(input_copy->virtual_register()) ==
|
||||||
DOUBLE_REGISTERS) {
|
DOUBLE_REGISTERS) {
|
||||||
|
Loading…
Reference in New Issue
Block a user