| Index: src/mips/macro-assembler-mips.cc
|
| diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc
|
| index fd89d576436a8ce34d6c578ad3779e24208aec21..d7732c6a381b3ddbc61534c51de4f4764f43c4aa 100644
|
| --- a/src/mips/macro-assembler-mips.cc
|
| +++ b/src/mips/macro-assembler-mips.cc
|
| @@ -3575,7 +3575,7 @@ MaybeObject* MacroAssembler::TryCallStub(CodeStub* stub, Condition cond,
|
|
|
|
|
| void MacroAssembler::TailCallStub(CodeStub* stub) {
|
| - ASSERT(stub->CompilingCallsToThisStubIsGCSafe() || allow_stub_calls_);
|
| + ASSERT(allow_stub_calls_ || stub->CompilingCallsToThisStubIsGCSafe());
|
| Jump(stub->GetCode(), RelocInfo::CODE_TARGET);
|
| }
|
|
|
| @@ -3694,7 +3694,7 @@ MaybeObject* MacroAssembler::TryCallApiFunctionAndReturn(
|
|
|
| bool MacroAssembler::AllowThisStubCall(CodeStub* stub) {
|
| if (!has_frame_ && stub->SometimesSetsUpAFrame()) return false;
|
| - return stub->CompilingCallsToThisStubIsGCSafe() || allow_stub_calls_;
|
| + return allow_stub_calls_ || stub->CompilingCallsToThisStubIsGCSafe();
|
| }
|
|
|
|
|
|
|