Flag --pretenure-call-new broken on MIPS.

A label in JSConstructStubHelper was in the wrong place.

R=hpayer@chromium.org

Review URL: https://codereview.chromium.org/315963002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21674 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 991827c4
......@@ -616,6 +616,7 @@ static void Generate_JSConstructStubHelper(MacroAssembler* masm,
// Receiver for constructor call allocated.
// t4: JSObject
__ bind(&allocated);
if (create_memento) {
__ lw(a2, MemOperand(sp, kPointerSize * 2));
......@@ -631,7 +632,6 @@ static void Generate_JSConstructStubHelper(MacroAssembler* masm,
__ bind(&count_incremented);
}
__ bind(&allocated);
__ Push(t4, t4);
// Reload the number of arguments from the stack.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment