Bug 1258253 - IonMonkey: MIPS64: Fix MacroAssembler::branchTestMagic. r=arai
authorHeiher <r@hev.cc>
Mon, 21 Mar 2016 13:49:03 +0800
changeset 289619 2ffc73dcc0b2906a67cb06d136eb48fd273a1c95
parent 289618 03c09c9919fd76de6c36405e0054dbeaf2336df2
child 289620 e37b8a11e2196f8bfeebf6880f7218d3ec45aa69
push id30108
push usercbook@mozilla.com
push dateTue, 22 Mar 2016 11:14:31 +0000
treeherdermozilla-central@ea6298e1b4f7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersarai
bugs1258253
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 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)
 {