| 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..397dc71b121935252f92beb9b9174339848fd521 100644
|
| --- a/src/mips/macro-assembler-mips.cc
|
| +++ b/src/mips/macro-assembler-mips.cc
|
| @@ -248,10 +248,6 @@ void MacroAssembler::RecordWrite(Register object,
|
| SmiCheck smi_check) {
|
| ASSERT(!AreAliased(object, address, value, t8));
|
| ASSERT(!AreAliased(object, address, value, t9));
|
| - // The compiled code assumes that record write doesn't change the
|
| - // context register, so we check that none of the clobbered
|
| - // registers are cp.
|
| - ASSERT(!address.is(cp) && !value.is(cp));
|
|
|
| if (emit_debug_code()) {
|
| lw(at, MemOperand(address));
|
| @@ -4136,7 +4132,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 +4150,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) {
|
|
|