Index: src/full-codegen/ia32/full-codegen-ia32.cc |
diff --git a/src/full-codegen/ia32/full-codegen-ia32.cc b/src/full-codegen/ia32/full-codegen-ia32.cc |
index 8af4a7ae5fc69a718cfdbf17e3dc3e384574ecba..a7715707f19eaab5f97daf90838152de251b556c 100644 |
--- a/src/full-codegen/ia32/full-codegen-ia32.cc |
+++ b/src/full-codegen/ia32/full-codegen-ia32.cc |
@@ -1172,12 +1172,9 @@ void FullCodeGenerator::EmitNewClosure(Handle<SharedFunctionInfo> info, |
__ mov(ebx, Immediate(info)); |
__ CallStub(&stub); |
} else { |
- __ push(esi); |
__ push(Immediate(info)); |
- __ push(Immediate(pretenure |
- ? isolate()->factory()->true_value() |
- : isolate()->factory()->false_value())); |
- __ CallRuntime(Runtime::kNewClosure, 3); |
+ __ CallRuntime( |
+ pretenure ? Runtime::kNewClosure_Tenured : Runtime::kNewClosure, 1); |
} |
context()->Plug(eax); |
} |