| Index: src/x64/macro-assembler-x64.cc
|
| diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc
|
| index 9f1e13bc9b8ffe161f95f9542235039334f008cd..42c2024517c507561be3d23aeb52f1df5a19c2c8 100644
|
| --- a/src/x64/macro-assembler-x64.cc
|
| +++ b/src/x64/macro-assembler-x64.cc
|
| @@ -551,7 +551,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()));
|
| Jump(stub->GetCode(isolate()), RelocInfo::CODE_TARGET);
|
| }
|
|
|
| @@ -564,7 +565,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());
|
| }
|
|
|
|
|
|
|