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
parent 0ec77736
......@@ -797,7 +797,9 @@ LUnallocated* LChunkBuilder::TempRegister() {
LUnallocated* operand =
new(zone()) LUnallocated(LUnallocated::MUST_HAVE_REGISTER);
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;
}
......
......@@ -855,7 +855,7 @@ void LAllocator::MeetConstraintsBetween(LInstruction* first,
LUnallocated* input_copy = cur_input->CopyUnconstrained();
cur_input->set_virtual_register(GetVirtualRegister());
if(!AllocationOk()) return;
if (!AllocationOk()) return;
if (RequiredRegisterKind(input_copy->virtual_register()) ==
DOUBLE_REGISTERS) {
......
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