Index: src/lithium-allocator.cc |
=================================================================== |
--- src/lithium-allocator.cc (revision 6167) |
+++ src/lithium-allocator.cc (working copy) |
@@ -940,6 +940,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) { |
@@ -1607,6 +1610,11 @@ |
} |
+void LAllocator::MarkAsSaveDoubles() { |
+ current_summary()->MarkAsSaveDoubles(); |
+} |
+ |
+ |
void LAllocator::RecordDefinition(HInstruction* instr, LUnallocated* operand) { |
operand->set_virtual_register(instr->id()); |
current_summary()->SetOutput(operand); |