Index: src/mips/code-stubs-mips.cc |
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc |
index 80c972c374e7c0b7ff73f264fe19c8490e283748..cc1cf4e9fd9f5c9dc87e825596fb882d8a125fb4 100644 |
--- a/src/mips/code-stubs-mips.cc |
+++ b/src/mips/code-stubs-mips.cc |
@@ -1585,7 +1585,7 @@ void StoreBufferOverflowStub::Generate(MacroAssembler* masm) { |
AllowExternalCallThatCantCauseGC scope(masm); |
__ PrepareCallCFunction(argument_count, fp_argument_count, scratch); |
- __ li(a0, Operand(ExternalReference::isolate_address())); |
+ __ li(a0, Operand(ExternalReference::isolate_address(masm->isolate()))); |
__ CallCFunction( |
ExternalReference::store_buffer_overflow_function(masm->isolate()), |
argument_count); |
@@ -3410,7 +3410,7 @@ void CEntryStub::GenerateCore(MacroAssembler* masm, |
__ AssertStackIsAligned(); |
- __ li(a2, Operand(ExternalReference::isolate_address())); |
+ __ li(a2, Operand(ExternalReference::isolate_address(isolate))); |
// To let the GC traverse the return address of the exit frames, we need to |
// know where the return address is. The CEntryStub is unmovable, so |
@@ -4689,7 +4689,7 @@ void RegExpExecStub::Generate(MacroAssembler* masm) { |
// Argument 9: Pass current isolate address. |
// CFunctionArgumentOperand handles MIPS stack argument slots. |
- __ li(a0, Operand(ExternalReference::isolate_address())); |
+ __ li(a0, Operand(ExternalReference::isolate_address(isolate))); |
__ sw(a0, MemOperand(sp, 5 * kPointerSize)); |
// Argument 8: Indicate that this is a direct call from JavaScript. |
@@ -7303,7 +7303,7 @@ void RecordWriteStub::InformIncrementalMarker(MacroAssembler* masm, Mode mode) { |
__ Move(address, regs_.address()); |
__ Move(a0, regs_.object()); |
__ Move(a1, address); |
- __ li(a2, Operand(ExternalReference::isolate_address())); |
+ __ li(a2, Operand(ExternalReference::isolate_address(masm->isolate()))); |
AllowExternalCallThatCantCauseGC scope(masm); |
if (mode == INCREMENTAL_COMPACTION) { |