| Index: src/mips/macro-assembler-mips.cc
|
| diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc
|
| index a85b0d803441b655e287e14ff66abe16e4b4712d..701d79630df4a189f8c25a8568f46128b070aefc 100644
|
| --- a/src/mips/macro-assembler-mips.cc
|
| +++ b/src/mips/macro-assembler-mips.cc
|
| @@ -4125,7 +4125,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
|
| @@ -4142,7 +4143,7 @@ void MacroAssembler::CallRuntime(const Runtime::Function* f,
|
| // smarter.
|
| PrepareCEntryArgs(num_arguments);
|
| PrepareCEntryFunction(ExternalReference(f, isolate()));
|
| - CEntryStub stub(1);
|
| + CEntryStub stub(1, save_doubles);
|
| CallStub(&stub);
|
| }
|
|
|
| @@ -4156,8 +4157,10 @@ void MacroAssembler::CallRuntimeSaveDoubles(Runtime::FunctionId id) {
|
| }
|
|
|
|
|
| -void MacroAssembler::CallRuntime(Runtime::FunctionId fid, int num_arguments) {
|
| - CallRuntime(Runtime::FunctionForId(fid), num_arguments);
|
| +void MacroAssembler::CallRuntime(Runtime::FunctionId fid,
|
| + int num_arguments,
|
| + SaveFPRegsMode save_doubles) {
|
| + CallRuntime(Runtime::FunctionForId(fid), num_arguments, save_doubles);
|
| }
|
|
|
|
|
|
|