Index: src/mips/stub-cache-mips.cc |
diff --git a/src/mips/stub-cache-mips.cc b/src/mips/stub-cache-mips.cc |
index b9757fa138ec2572df5b684b685b7499d5aa558a..a31c2530284d655397d07ffc9a9d9c7f4667772e 100644 |
--- a/src/mips/stub-cache-mips.cc |
+++ b/src/mips/stub-cache-mips.cc |
@@ -715,7 +715,7 @@ static void PushInterceptorArguments(MacroAssembler* masm, |
__ Push(scratch, receiver, holder); |
__ lw(scratch, FieldMemOperand(scratch, InterceptorInfo::kDataOffset)); |
__ push(scratch); |
- __ li(scratch, Operand(ExternalReference::isolate_address())); |
+ __ li(scratch, Operand(ExternalReference::isolate_address(masm->isolate()))); |
__ push(scratch); |
} |
@@ -789,7 +789,7 @@ static void GenerateFastApiDirectCall(MacroAssembler* masm, |
__ li(t2, call_data); |
} |
- __ li(t3, Operand(ExternalReference::isolate_address())); |
+ __ li(t3, Operand(ExternalReference::isolate_address(masm->isolate()))); |
// Store JS function, call data and isolate. |
__ sw(t1, MemOperand(sp, 1 * kPointerSize)); |
__ sw(t2, MemOperand(sp, 2 * kPointerSize)); |
@@ -1292,13 +1292,13 @@ void BaseLoadStubCompiler::GenerateLoadCallback( |
__ lw(scratch3(), FieldMemOperand(scratch3(), |
ExecutableAccessorInfo::kDataOffset)); |
} else { |
- __ li(scratch3(), Handle<Object>(callback->data(), |
- callback->GetIsolate())); |
+ __ li(scratch3(), Handle<Object>(callback->data(), masm()->isolate())); |
} |
__ Subu(sp, sp, 4 * kPointerSize); |
__ sw(reg, MemOperand(sp, 3 * kPointerSize)); |
__ sw(scratch3(), MemOperand(sp, 2 * kPointerSize)); |
- __ li(scratch3(), Operand(ExternalReference::isolate_address())); |
+ __ li(scratch3(), |
+ Operand(ExternalReference::isolate_address(masm()->isolate()))); |
__ sw(scratch3(), MemOperand(sp, 1 * kPointerSize)); |
__ sw(name(), MemOperand(sp, 0 * kPointerSize)); |