Bug 777262: Fix windows bustage, r=bustage
authorHannes Verschore <hv1989@gmail.com>
Sat, 22 Dec 2012 23:40:55 +0100
changeset 116905 2e6bec0c1f8a262c3566966332470e1f9dcd589b
parent 116904 6bc692ff1c10fa3d2f045d3764e701c101c298db
child 116906 fec5950b88a2529a598567384c4415c27b02af10
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)
reviewersbustage
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: Fix windows bustage, r=bustage
js/src/ion/CodeGenerator.cpp
--- a/js/src/ion/CodeGenerator.cpp
+++ b/js/src/ion/CodeGenerator.cpp
@@ -2574,17 +2574,17 @@ CodeGenerator::visitIsNullOrLikeUndefine
             masm.jump(ifFalseLabel);
         }
         return true;
     }
 
     JS_ASSERT(op == JSOP_STRICTEQ || op == JSOP_STRICTNE);
 
     Assembler::Condition cond = JSOpToCondition(op);
-    if (compareType == MCompare::MCompare::Compare_Null)
+    if (compareType == MCompare::Compare_Null)
         cond = masm.testNull(cond, value);
     else
         cond = masm.testUndefined(cond, value);
 
     emitBranch(cond, lir->ifTrue(), lir->ifFalse());
     return true;
 }