Index: src/ia32/code-stubs-ia32.cc |
diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc |
index e29d834de110d0b616732f725ea8d8b51b84fa73..8c6801d7d81651def0d7efabf8f4e4c99a17144c 100644 |
--- a/src/ia32/code-stubs-ia32.cc |
+++ b/src/ia32/code-stubs-ia32.cc |
@@ -556,7 +556,7 @@ void StoreBufferOverflowStub::Generate(MacroAssembler* masm) { |
AllowExternalCallThatCantCauseGC scope(masm); |
__ PrepareCallCFunction(argument_count, ecx); |
__ mov(Operand(esp, 0 * kPointerSize), |
- Immediate(ExternalReference::isolate_address())); |
+ Immediate(ExternalReference::isolate_address(masm->isolate()))); |
__ CallCFunction( |
ExternalReference::store_buffer_overflow_function(masm->isolate()), |
argument_count); |
@@ -3876,7 +3876,7 @@ void RegExpExecStub::Generate(MacroAssembler* masm) { |
// Argument 9: Pass current isolate address. |
__ mov(Operand(esp, 8 * kPointerSize), |
- Immediate(ExternalReference::isolate_address())); |
+ Immediate(ExternalReference::isolate_address(masm->isolate()))); |
// Argument 8: Indicate that this is a direct call from JavaScript. |
__ mov(Operand(esp, 7 * kPointerSize), Immediate(1)); |
@@ -5030,7 +5030,7 @@ void CEntryStub::GenerateCore(MacroAssembler* masm, |
__ mov(Operand(esp, 0 * kPointerSize), edi); // argc. |
__ mov(Operand(esp, 1 * kPointerSize), esi); // argv. |
__ mov(Operand(esp, 2 * kPointerSize), |
- Immediate(ExternalReference::isolate_address())); |
+ Immediate(ExternalReference::isolate_address(masm->isolate()))); |
__ call(ebx); |
// Result is in eax or edx:eax - do not destroy these registers! |
@@ -7471,7 +7471,7 @@ void RecordWriteStub::InformIncrementalMarker(MacroAssembler* masm, Mode mode) { |
__ mov(Operand(esp, 0 * kPointerSize), regs_.object()); |
__ mov(Operand(esp, 1 * kPointerSize), regs_.address()); // Slot. |
__ mov(Operand(esp, 2 * kPointerSize), |
- Immediate(ExternalReference::isolate_address())); |
+ Immediate(ExternalReference::isolate_address(masm->isolate()))); |
AllowExternalCallThatCantCauseGC scope(masm); |
if (mode == INCREMENTAL_COMPACTION) { |