Index: src/ia32/macro-assembler-ia32.cc |
diff --git a/src/ia32/macro-assembler-ia32.cc b/src/ia32/macro-assembler-ia32.cc |
index 4aaaf983aae9ea5df64a68997509e5ec40eba6b0..f832f6f65fe87225bdc7709cd432cf2d59a91554 100644 |
--- a/src/ia32/macro-assembler-ia32.cc |
+++ b/src/ia32/macro-assembler-ia32.cc |
@@ -1810,7 +1810,8 @@ void MacroAssembler::CallStub(CodeStub* stub, TypeFeedbackId ast_id) { |
void MacroAssembler::TailCallStub(CodeStub* stub) { |
- ASSERT(allow_stub_calls_ || stub->CompilingCallsToThisStubIsGCSafe()); |
+ ASSERT(allow_stub_calls_ || |
+ stub->CompilingCallsToThisStubIsGCSafe(isolate())); |
jmp(stub->GetCode(isolate()), RelocInfo::CODE_TARGET); |
} |
@@ -1823,7 +1824,7 @@ void MacroAssembler::StubReturn(int argc) { |
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()); |
} |