summaryrefslogtreecommitdiffstats
path: root/js/src/jit/mips32/MacroAssembler-mips32.h
diff options
context:
space:
mode:
authorJiaxun Yang <jiaxun.yang@flygoat.com>2020-05-12 12:40:05 +0800
committerJiaxun Yang <jiaxun.yang@flygoat.com>2020-05-14 16:31:55 +0800
commit4fc1cd5563bf3b7312ccd8317f296a8142ba2ff5 (patch)
treeaea6797e42091d18f925b8fc163018811da816e1 /js/src/jit/mips32/MacroAssembler-mips32.h
parent4e2559d92f3f1238013b8d6e26e49632d13ba873 (diff)
downloadUXP-4fc1cd5563bf3b7312ccd8317f296a8142ba2ff5.tar
UXP-4fc1cd5563bf3b7312ccd8317f296a8142ba2ff5.tar.gz
UXP-4fc1cd5563bf3b7312ccd8317f296a8142ba2ff5.tar.lz
UXP-4fc1cd5563bf3b7312ccd8317f296a8142ba2ff5.tar.xz
UXP-4fc1cd5563bf3b7312ccd8317f296a8142ba2ff5.zip
Bug 1323136 - wasm: MIPS: Do bounds check in 32-bit
Tag: #1542
Diffstat (limited to 'js/src/jit/mips32/MacroAssembler-mips32.h')
-rw-r--r--js/src/jit/mips32/MacroAssembler-mips32.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/js/src/jit/mips32/MacroAssembler-mips32.h b/js/src/jit/mips32/MacroAssembler-mips32.h
index adb626bb0..9b846e25d 100644
--- a/js/src/jit/mips32/MacroAssembler-mips32.h
+++ b/js/src/jit/mips32/MacroAssembler-mips32.h
@@ -55,7 +55,6 @@ class MacroAssemblerMIPS : public MacroAssemblerMIPSShared
void ma_li(Register dest, CodeOffset* label);
- void ma_liPatchable(Register dest, Imm32 imm);
void ma_li(Register dest, ImmWord imm);
void ma_liPatchable(Register dest, ImmPtr imm);
void ma_liPatchable(Register dest, ImmWord imm);
@@ -990,12 +989,6 @@ class MacroAssemblerMIPSCompat : public MacroAssemblerMIPS
ma_sw(imm, addr);
}
- BufferOffset ma_BoundsCheck(Register bounded) {
- BufferOffset bo = m_buffer.nextOffset();
- ma_liPatchable(bounded, ImmWord(0));
- return bo;
- }
-
void moveFloat32(FloatRegister src, FloatRegister dest) {
as_movs(dest, src);
}