Index: src/full-codegen/x64/full-codegen-x64.cc |
diff --git a/src/full-codegen/x64/full-codegen-x64.cc b/src/full-codegen/x64/full-codegen-x64.cc |
index b4b7a8dfe2e4ec2da917efae42dbe3f67eaa28ea..d5e630e297e1f9d9c4a10b6b85cb74bd7d00e24e 100644 |
--- a/src/full-codegen/x64/full-codegen-x64.cc |
+++ b/src/full-codegen/x64/full-codegen-x64.cc |
@@ -1200,12 +1200,9 @@ void FullCodeGenerator::EmitNewClosure(Handle<SharedFunctionInfo> info, |
__ Move(rbx, info); |
__ CallStub(&stub); |
} else { |
- __ Push(rsi); |
__ Push(info); |
- __ Push(pretenure |
- ? isolate()->factory()->true_value() |
- : isolate()->factory()->false_value()); |
- __ CallRuntime(Runtime::kNewClosure, 3); |
+ __ CallRuntime( |
+ pretenure ? Runtime::kNewClosure_Tenured : Runtime::kNewClosure, 1); |
} |
context()->Plug(rax); |
} |