Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index c520cc36e5ccba2e2b9e85f10650d4a8040d2d0b..47a96a339eaf04058f32ef50dc5649f1b8b7676f 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -2621,7 +2621,8 @@ void MacroAssembler::GetLeastBitsFromInt32(Register dst, |
void MacroAssembler::CallRuntime(const Runtime::Function* f, |
- int num_arguments) { |
+ int num_arguments, |
+ SaveFPRegsMode save_doubles) { |
// All parameters are on the stack. r0 has the return value after call. |
// If the expected number of arguments of the runtime function is |
@@ -2638,21 +2639,7 @@ void MacroAssembler::CallRuntime(const Runtime::Function* f, |
// smarter. |
mov(r0, Operand(num_arguments)); |
mov(r1, Operand(ExternalReference(f, isolate()))); |
- CEntryStub stub(1); |
- CallStub(&stub); |
-} |
- |
- |
-void MacroAssembler::CallRuntime(Runtime::FunctionId fid, int num_arguments) { |
- CallRuntime(Runtime::FunctionForId(fid), num_arguments); |
-} |
- |
- |
-void MacroAssembler::CallRuntimeSaveDoubles(Runtime::FunctionId id) { |
- const Runtime::Function* function = Runtime::FunctionForId(id); |
- mov(r0, Operand(function->nargs)); |
- mov(r1, Operand(ExternalReference(function, isolate()))); |
- CEntryStub stub(1, kSaveFPRegs); |
+ CEntryStub stub(1, save_doubles); |
CallStub(&stub); |
} |