Index: src/lithium-allocator.cc |
=================================================================== |
--- src/lithium-allocator.cc (revision 6109) |
+++ src/lithium-allocator.cc (working copy) |
@@ -937,6 +937,9 @@ |
curr_position.InstructionEnd()); |
} |
} |
+ } |
+ |
+ if (summary->IsCall() || summary->IsSaveDoubles()) { |
for (int i = 0; i < DoubleRegister::kNumAllocatableRegisters; ++i) { |
if (output == NULL || !output->IsDoubleRegister() || |
output->index() != i) { |
@@ -1577,6 +1580,11 @@ |
} |
+void LAllocator::MarkAsSaveDoubles() { |
+ current_summary()->MarkAsSaveDoubles(); |
+} |
+ |
+ |
void LAllocator::RecordDefinition(HInstruction* instr, LUnallocated* operand) { |
operand->set_virtual_register(instr->id()); |
current_summary()->SetOutput(operand); |