Reviewers: Hannes Payer,

Message:
Hi Hannes,
Here is the simple fix we discussed, thx!
--Michael

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

A label in JSConstructStubHelper was in the wrong place.

[email protected]

Please review this at https://codereview.chromium.org/315963002/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+1, -1 lines):
  M src/mips/builtins-mips.cc


Index: src/mips/builtins-mips.cc
diff --git a/src/mips/builtins-mips.cc b/src/mips/builtins-mips.cc
index 248c0afc2b113cc71635665d9e5ad57ac0798f60..800a79e19204904a703eb62660005efa343c5d1f 100644
--- a/src/mips/builtins-mips.cc
+++ b/src/mips/builtins-mips.cc
@@ -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.


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to