Index: src/ia32/builtins-ia32.cc |
diff --git a/src/ia32/builtins-ia32.cc b/src/ia32/builtins-ia32.cc |
index a1597481aa62738eb21c9832901934ce60a44256..91eba9805ad0ee6e21b483a74f4665daf6b23f57 100644 |
--- a/src/ia32/builtins-ia32.cc |
+++ b/src/ia32/builtins-ia32.cc |
@@ -539,10 +539,12 @@ static void GenerateMakeCodeYoungAgainCommon(MacroAssembler* masm) { |
__ mov(eax, Operand(esp, 8 * kPointerSize)); |
{ |
FrameScope scope(masm, StackFrame::MANUAL); |
- __ PrepareCallCFunction(1, ebx); |
+ __ PrepareCallCFunction(2, ebx); |
+ __ mov(Operand(esp, 1 * kPointerSize), |
+ Immediate(ExternalReference::isolate_address(masm->isolate()))); |
__ mov(Operand(esp, 0), eax); |
__ CallCFunction( |
- ExternalReference::get_make_code_young_function(masm->isolate()), 1); |
+ ExternalReference::get_make_code_young_function(masm->isolate()), 2); |
} |
__ popad(); |
__ ret(0); |