summaryrefslogtreecommitdiffstats
path: root/js/src/jit/mips32/MacroAssembler-mips32.cpp
diff options
context:
space:
mode:
authorJiaxun Yang <jiaxun.yang@flygoat.com>2020-05-12 12:40:10 +0800
committerMoonchild <moonchild@palemoon.org>2020-05-20 14:01:52 +0000
commit31ad2d12db7ebd94f79ed4c81f066f64721504f4 (patch)
treec40967f40f523c287c4455dfa45f6e7b63f29d1f /js/src/jit/mips32/MacroAssembler-mips32.cpp
parent494cfe32c9224ef5697b53288aaad0896c05b4b8 (diff)
downloadUXP-31ad2d12db7ebd94f79ed4c81f066f64721504f4.tar
UXP-31ad2d12db7ebd94f79ed4c81f066f64721504f4.tar.gz
UXP-31ad2d12db7ebd94f79ed4c81f066f64721504f4.tar.lz
UXP-31ad2d12db7ebd94f79ed4c81f066f64721504f4.tar.xz
UXP-31ad2d12db7ebd94f79ed4c81f066f64721504f4.zip
Bug 1271968 - IonMonkey: MIPS: Refactor addMixedJump.
Tag: #1542
Diffstat (limited to 'js/src/jit/mips32/MacroAssembler-mips32.cpp')
-rw-r--r--js/src/jit/mips32/MacroAssembler-mips32.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/jit/mips32/MacroAssembler-mips32.cpp b/js/src/jit/mips32/MacroAssembler-mips32.cpp
index 46e52f132..b4a148d8f 100644
--- a/js/src/jit/mips32/MacroAssembler-mips32.cpp
+++ b/js/src/jit/mips32/MacroAssembler-mips32.cpp
@@ -1498,7 +1498,7 @@ MacroAssemblerMIPSCompat::jumpWithPatch(RepatchLabel* label, Label* documentatio
BufferOffset bo = nextOffset();
label->use(bo.getOffset());
if (label->bound())
- addMixedJump(bo, ImmPtr((void*)label->offset()), MixedJumpPatch::PATCHABLE);
+ addMixedJump(bo, label->offset(), MixedJumpPatch::PATCHABLE);
as_j(JOffImm26(0));
as_nop();
return CodeOffsetJump(bo.getOffset());