Bug 777262: Assertation dropout, r=orange
authorHannes Verschore <hv1989@gmail.com>
Sun, 23 Dec 2012 00:19:44 +0100
changeset 116909 80c7c3eee490dacd5ade7ce5942730f917ff3ab4
parent 116908 824e649bab0c7aa47bd6486e27825a5a97178673
child 116910 bab7ae06e579d274c81c5701ee87e35df8e14265
push id24076
push userryanvm@gmail.com
push dateSun, 23 Dec 2012 20:50:19 +0000
treeherdermozilla-central@4f74d77d6d8b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersorange
bugs777262
milestone20.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 777262: Assertation dropout, r=orange
js/src/ion/MIR.h
--- a/js/src/ion/MIR.h
+++ b/js/src/ion/MIR.h
@@ -1465,17 +1465,17 @@ class MCompare
         return operandMightEmulateUndefined_;
     }
     AliasSet getAliasSet() const {
         // Strict equality is never effectful.
         if (jsop_ == JSOP_STRICTEQ || jsop_ == JSOP_STRICTNE)
             return AliasSet::None();
         if (compareType_ == Compare_Unknown)
             return AliasSet::Store(AliasSet::Any);
-        JS_ASSERT(compareType_ <= Compare_Object);
+        JS_ASSERT(compareType_ <= Compare_Value);
         return AliasSet::None();
     }
 
   protected:
     bool congruentTo(MDefinition *const &ins) const {
         if (!MBinaryInstruction::congruentTo(ins))
             return false;
         return jsop() == ins->toCompare()->jsop();