| Index: src/x64/macro-assembler-x64.cc
|
| diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc
|
| index f3156ac497792441ad42b9d752cb139bda327846..807e90dbec86555ee90921dc3e1349204897e398 100644
|
| --- a/src/x64/macro-assembler-x64.cc
|
| +++ b/src/x64/macro-assembler-x64.cc
|
| @@ -546,13 +546,13 @@ void MacroAssembler::Abort(const char* msg) {
|
|
|
| void MacroAssembler::CallStub(CodeStub* stub, TypeFeedbackId ast_id) {
|
| ASSERT(AllowThisStubCall(stub)); // Calls are not allowed in some stubs
|
| - Call(stub->GetCode(), RelocInfo::CODE_TARGET, ast_id);
|
| + Call(stub->GetCode(isolate()), RelocInfo::CODE_TARGET, ast_id);
|
| }
|
|
|
|
|
| void MacroAssembler::TailCallStub(CodeStub* stub) {
|
| ASSERT(allow_stub_calls_ || stub->CompilingCallsToThisStubIsGCSafe());
|
| - Jump(stub->GetCode(), RelocInfo::CODE_TARGET);
|
| + Jump(stub->GetCode(isolate()), RelocInfo::CODE_TARGET);
|
| }
|
|
|
|
|
| @@ -834,7 +834,7 @@ void MacroAssembler::JumpToExternalReference(const ExternalReference& ext,
|
| // Set the entry point and jump to the C entry runtime stub.
|
| LoadAddress(rbx, ext);
|
| CEntryStub ces(result_size);
|
| - jmp(ces.GetCode(), RelocInfo::CODE_TARGET);
|
| + jmp(ces.GetCode(isolate()), RelocInfo::CODE_TARGET);
|
| }
|
|
|
|
|
| @@ -3139,7 +3139,7 @@ void MacroAssembler::DebugBreak() {
|
| LoadAddress(rbx, ExternalReference(Runtime::kDebugBreak, isolate()));
|
| CEntryStub ces(1);
|
| ASSERT(AllowThisStubCall(&ces));
|
| - Call(ces.GetCode(), RelocInfo::DEBUG_BREAK);
|
| + Call(ces.GetCode(isolate()), RelocInfo::DEBUG_BREAK);
|
| }
|
| #endif // ENABLE_DEBUGGER_SUPPORT
|
|
|
|
|