Index: src/full-codegen/arm/full-codegen-arm.cc |
diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc |
index 7020a11e1773b5068ec748d809d46afd4e537f74..b67c63de7a67b3f803d313ee97d62ea7d687e89b 100644 |
--- a/src/full-codegen/arm/full-codegen-arm.cc |
+++ b/src/full-codegen/arm/full-codegen-arm.cc |
@@ -1242,11 +1242,9 @@ void FullCodeGenerator::EmitNewClosure(Handle<SharedFunctionInfo> info, |
__ mov(r2, Operand(info)); |
__ CallStub(&stub); |
} else { |
- __ mov(r0, Operand(info)); |
- __ LoadRoot(r1, pretenure ? Heap::kTrueValueRootIndex |
- : Heap::kFalseValueRootIndex); |
- __ Push(cp, r0, r1); |
- __ CallRuntime(Runtime::kNewClosure, 3); |
+ __ Push(info); |
+ __ CallRuntime( |
+ pretenure ? Runtime::kNewClosure_Tenured : Runtime::kNewClosure, 1); |
} |
context()->Plug(r0); |
} |