Bug 983709 - Simple branch patch for uplift. r=hv1989, a=sledru
authorJan de Mooij <jdemooij@mozilla.com>
Fri, 04 Apr 2014 09:30:55 -0400
changeset 192566 76754e1448666dbb6eff7dc892e02a3636548817
parent 192565 e89c8841b0367621d9128d6408dff7fdb2be25a7
child 192567 e8bdf848dd9bb1796f382f9221129051ef4743c3
push id474
push userasasaki@mozilla.com
push dateMon, 02 Jun 2014 21:01:02 +0000
treeherdermozilla-release@967f4cf1b31c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewershv1989, sledru
bugs983709
milestone30.0a2
Bug 983709 - Simple branch patch for uplift. r=hv1989, a=sledru
js/src/jit/MIR.h
--- a/js/src/jit/MIR.h
+++ b/js/src/jit/MIR.h
@@ -2633,16 +2633,19 @@ class MCreateThisWithProto
     MDefinition *getPrototype() const {
         return getOperand(1);
     }
 
     // Although creation of |this| modifies global state, it is safely repeatable.
     AliasSet getAliasSet() const {
         return AliasSet::None();
     }
+    bool congruentTo(MDefinition *ins) const {
+        return false;
+    }
     TypePolicy *typePolicy() {
         return this;
     }
     bool possiblyCalls() const {
         return true;
     }
 };
 
@@ -4400,16 +4403,19 @@ class MStringSplit
         return getOperand(1);
     }
     TypePolicy *typePolicy() {
         return this;
     }
     bool possiblyCalls() const {
         return true;
     }
+    bool congruentTo(MDefinition *ins) const {
+        return false;
+    }
     virtual AliasSet getAliasSet() const {
         // Although this instruction returns a new array, we don't have to mark
         // it as store instruction, see also MNewArray.
         return AliasSet::None();
     }
 };
 
 // Returns an object to use as |this| value. See also ComputeThis and