Index: src/mips/macro-assembler-mips.cc |
diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc |
index ae14f678b26eff7ae308b1399f16c06fc6ee091c..af436b6cdf579b3ab748f3583ae6314de6ff5c60 100644 |
--- a/src/mips/macro-assembler-mips.cc |
+++ b/src/mips/macro-assembler-mips.cc |
@@ -3960,7 +3960,8 @@ void MacroAssembler::CallStub(CodeStub* stub, |
void MacroAssembler::TailCallStub(CodeStub* stub) { |
- ASSERT(allow_stub_calls_ || stub->CompilingCallsToThisStubIsGCSafe()); |
+ ASSERT(allow_stub_calls_ || |
+ stub->CompilingCallsToThisStubIsGCSafe(isolate())); |
Jump(stub->GetCode(isolate()), RelocInfo::CODE_TARGET); |
} |
@@ -4078,7 +4079,7 @@ void MacroAssembler::CallApiFunctionAndReturn(ExternalReference function, |
bool MacroAssembler::AllowThisStubCall(CodeStub* stub) { |
if (!has_frame_ && stub->SometimesSetsUpAFrame()) return false; |
- return allow_stub_calls_ || stub->CompilingCallsToThisStubIsGCSafe(); |
+ return allow_stub_calls_ || stub->CompilingCallsToThisStubIsGCSafe(isolate()); |
} |