Bug 1258253 - IonMonkey: MIPS64: Fix MacroAssembler::branchTestMagic. r=arai
authorHeiher <r@hev.cc>
Mon, 21 Mar 2016 13:49:03 +0800
changeset 289678 2ffc73dcc0b2906a67cb06d136eb48fd273a1c95
parent 289677 03c09c9919fd76de6c36405e0054dbeaf2336df2
child 289679 e37b8a11e2196f8bfeebf6880f7218d3ec45aa69
push id19656
push usergwagner@mozilla.com
push dateMon, 04 Apr 2016 13:43:23 +0000
treeherderb2g-inbound@e99061fde28a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersarai
bugs1258253
milestone48.0a1
Bug 1258253 - IonMonkey: MIPS64: Fix MacroAssembler::branchTestMagic. r=arai --- js/src/jit/mips64/MacroAssembler-mips64-inl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
js/src/jit/mips64/MacroAssembler-mips64-inl.h
--- a/js/src/jit/mips64/MacroAssembler-mips64-inl.h
+++ b/js/src/jit/mips64/MacroAssembler-mips64-inl.h
@@ -347,17 +347,17 @@ MacroAssembler::branchTestMagic(Conditio
 }
 
 void
 MacroAssembler::branchTestMagic(Condition cond, const Address& valaddr, JSWhyMagic why, Label* label)
 {
     uint64_t magic = MagicValue(why).asRawBits();
     ScratchRegisterScope scratch(*this);
     loadPtr(valaddr, scratch);
-    ma_b(scratch, ImmWord(magic), cond, label);
+    ma_b(scratch, ImmWord(magic), label, cond);
 }
 
 //}}} check_macroassembler_style
 // ===============================================================
 
 void
 MacroAssemblerMIPS64Compat::incrementInt32Value(const Address& addr)
 {