Index: src/full-codegen/mips/full-codegen-mips.cc |
diff --git a/src/full-codegen/mips/full-codegen-mips.cc b/src/full-codegen/mips/full-codegen-mips.cc |
index 1553c1ab86033137fc9d042dc15b11965856b03d..9e72de905d1136921f25b9ce6fa7bab9f3de031c 100644 |
--- a/src/full-codegen/mips/full-codegen-mips.cc |
+++ b/src/full-codegen/mips/full-codegen-mips.cc |
@@ -1241,11 +1241,9 @@ void FullCodeGenerator::EmitNewClosure(Handle<SharedFunctionInfo> info, |
__ li(a2, Operand(info)); |
__ CallStub(&stub); |
} else { |
- __ li(a0, Operand(info)); |
- __ LoadRoot(a1, pretenure ? Heap::kTrueValueRootIndex |
- : Heap::kFalseValueRootIndex); |
- __ Push(cp, a0, a1); |
- __ CallRuntime(Runtime::kNewClosure, 3); |
+ __ Push(info); |
+ __ CallRuntime( |
+ pretenure ? Runtime::kNewClosure_Tenured : Runtime::kNewClosure, 1); |
} |
context()->Plug(v0); |
} |