Bug 1254369 - IonMonkey: MIPS: Clean up broken assertions. r=arai
authorHeiher <r@hev.cc>
Wed, 09 Mar 2016 12:34:59 +0800
changeset 287443 4158b3cae082c3c47fab540ca421a14669c57400
parent 287442 3fc4c139505e95ca0c3388d888f99db3df91c7a4
child 287444 735e3eec00ad6386ece71b32c4297e11f6a84ad9
push id30068
push usercbook@mozilla.com
push dateWed, 09 Mar 2016 10:46:58 +0000
treeherdermozilla-central@af7c0cb0798f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersarai
bugs1254369
milestone48.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 1254369 - IonMonkey: MIPS: Clean up broken assertions. r=arai --- js/src/jit/mips-shared/Lowering-mips-shared.cpp | 2 -- 1 file changed, 2 deletions(-)
js/src/jit/mips-shared/Lowering-mips-shared.cpp
--- a/js/src/jit/mips-shared/Lowering-mips-shared.cpp
+++ b/js/src/jit/mips-shared/Lowering-mips-shared.cpp
@@ -407,17 +407,16 @@ LIRGeneratorMIPSShared::visitSimdValueX4
     MOZ_CRASH("NYI");
 }
 
 void
 LIRGeneratorMIPSShared::visitCompareExchangeTypedArrayElement(MCompareExchangeTypedArrayElement* ins)
 {
     MOZ_ASSERT(ins->arrayType() != Scalar::Float32);
     MOZ_ASSERT(ins->arrayType() != Scalar::Float64);
-    MOZ_ASSERT(ins->offset() == 0);
 
     MOZ_ASSERT(ins->elements()->type() == MIRType_Elements);
     MOZ_ASSERT(ins->index()->type() == MIRType_Int32);
 
     const LUse elements = useRegister(ins->elements());
     const LAllocation index = useRegisterOrConstant(ins->index());
 
     // If the target is a floating register then we need a temp at the
@@ -436,17 +435,16 @@ LIRGeneratorMIPSShared::visitCompareExch
 
     define(lir, ins);
 }
 
 void
 LIRGeneratorMIPSShared::visitAtomicExchangeTypedArrayElement(MAtomicExchangeTypedArrayElement* ins)
 {
     MOZ_ASSERT(ins->arrayType() <= Scalar::Uint32);
-    MOZ_ASSERT(ins->offset() == 0);
 
     MOZ_ASSERT(ins->elements()->type() == MIRType_Elements);
     MOZ_ASSERT(ins->index()->type() == MIRType_Int32);
 
     const LUse elements = useRegister(ins->elements());
     const LAllocation index = useRegisterOrConstant(ins->index());
 
     // If the target is a floating register then we need a temp at the