Index: src/ia32/code-stubs-ia32.cc |
diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc |
index a83c1ae91d17976015ddeba30b2759c86802436a..644ba40077e43a1ea50106f3aab782420f1e205d 100644 |
--- a/src/ia32/code-stubs-ia32.cc |
+++ b/src/ia32/code-stubs-ia32.cc |
@@ -4508,6 +4508,8 @@ void CEntryStub::GenerateCore(MacroAssembler* masm, |
// stack alignment is known to be correct. This function takes one argument |
// which is passed on the stack, and we know that the stack has been |
// prepared to pass at least one argument. |
+ __ mov(Operand(esp, 1 * kPointerSize), |
+ Immediate(ExternalReference::isolate_address(masm->isolate()))); |
__ mov(Operand(esp, 0 * kPointerSize), eax); // Result. |
__ call(FUNCTION_ADDR(Runtime::PerformGC), RelocInfo::RUNTIME_ENTRY); |
} |