| Index: src/arm/macro-assembler-arm.cc
|
| diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc
|
| index 8fcde6b4318856dcec4b4b0089f39e05282537be..25060ea823b20fe7a40ba84f0b0ab165df7926a7 100644
|
| --- a/src/arm/macro-assembler-arm.cc
|
| +++ b/src/arm/macro-assembler-arm.cc
|
| @@ -2617,7 +2617,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
|
| @@ -2634,21 +2635,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);
|
| }
|
|
|
|
|