Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index d677772ece9719e43ce54cd7c5dfd0f1dc4d9373..1fb542f15f8508365fb2fa6d7ed180f602b89570 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -637,13 +637,15 @@ void LCodeGen::CallCode(Handle<Code> code, |
void LCodeGen::CallRuntime(const Runtime::Function* function, |
int num_arguments, |
- LInstruction* instr) { |
+ LInstruction* instr, |
+ SaveFPRegsMode save_doubles) { |
ASSERT(instr != NULL); |
ASSERT(instr->HasPointerMap()); |
LPointerMap* pointers = instr->pointer_map(); |
RecordPosition(pointers->position()); |
- __ CallRuntime(function, num_arguments); |
+ __ CallRuntime(function, num_arguments, save_doubles); |
+ |
RecordSafepointWithLazyDeopt(instr, RECORD_SIMPLE_SAFEPOINT, 0); |
} |
@@ -3906,7 +3908,7 @@ void LCodeGen::DoCallNewArray(LCallNewArray* instr) { |
void LCodeGen::DoCallRuntime(LCallRuntime* instr) { |
- CallRuntime(instr->function(), instr->arity(), instr); |
+ CallRuntime(instr->function(), instr->arity(), instr, instr->save_doubles()); |
} |