Index: src/arm/macro-assembler-arm.cc |
diff --git a/src/arm/macro-assembler-arm.cc b/src/arm/macro-assembler-arm.cc |
index c60e6bbf7e9eae6d1040e912123ac611df4e12cc..e0e77cfd338a0b334550c0ad3165487c50c3dd5f 100644 |
--- a/src/arm/macro-assembler-arm.cc |
+++ b/src/arm/macro-assembler-arm.cc |
@@ -2225,7 +2225,8 @@ void MacroAssembler::CallStub(CodeStub* stub, |
void MacroAssembler::TailCallStub(CodeStub* stub, Condition cond) { |
- ASSERT(allow_stub_calls_ || stub->CompilingCallsToThisStubIsGCSafe()); |
+ ASSERT(allow_stub_calls_ || |
+ stub->CompilingCallsToThisStubIsGCSafe(isolate())); |
Jump(stub->GetCode(isolate()), RelocInfo::CODE_TARGET, cond); |
} |
@@ -2335,7 +2336,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()); |
} |