Index: src/mips/macro-assembler-mips.cc |
diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc |
index cbb538f39d34d8977c978fd08681f5dbce3b31a8..788f2aacd84ecdc9ec803d40f5d1f55bb32392fa 100644 |
--- a/src/mips/macro-assembler-mips.cc |
+++ b/src/mips/macro-assembler-mips.cc |
@@ -4136,7 +4136,8 @@ void MacroAssembler::SubuAndCheckForOverflow(Register dst, |
void MacroAssembler::CallRuntime(const Runtime::Function* f, |
- int num_arguments) { |
+ int num_arguments, |
+ SaveFPRegsMode save_doubles) { |
// All parameters are on the stack. v0 has the return value after call. |
// If the expected number of arguments of the runtime function is |
@@ -4153,25 +4154,11 @@ void MacroAssembler::CallRuntime(const Runtime::Function* f, |
// smarter. |
PrepareCEntryArgs(num_arguments); |
PrepareCEntryFunction(ExternalReference(f, isolate())); |
- CEntryStub stub(1); |
- CallStub(&stub); |
-} |
- |
- |
-void MacroAssembler::CallRuntimeSaveDoubles(Runtime::FunctionId id) { |
- const Runtime::Function* function = Runtime::FunctionForId(id); |
- PrepareCEntryArgs(function->nargs); |
- PrepareCEntryFunction(ExternalReference(function, isolate())); |
- CEntryStub stub(1, kSaveFPRegs); |
+ CEntryStub stub(1, save_doubles); |
CallStub(&stub); |
} |
-void MacroAssembler::CallRuntime(Runtime::FunctionId fid, int num_arguments) { |
- CallRuntime(Runtime::FunctionForId(fid), num_arguments); |
-} |
- |
- |
void MacroAssembler::CallExternalReference(const ExternalReference& ext, |
int num_arguments, |
BranchDelaySlot bd) { |