diff options
author | Jiaxun Yang <jiaxun.yang@flygoat.com> | 2020-05-12 12:40:05 +0800 |
---|---|---|
committer | Jiaxun Yang <jiaxun.yang@flygoat.com> | 2020-05-14 16:31:55 +0800 |
commit | 4fc1cd5563bf3b7312ccd8317f296a8142ba2ff5 (patch) | |
tree | aea6797e42091d18f925b8fc163018811da816e1 /js/src/jit/mips-shared/Assembler-mips-shared.h | |
parent | 4e2559d92f3f1238013b8d6e26e49632d13ba873 (diff) | |
download | UXP-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/mips-shared/Assembler-mips-shared.h')
-rw-r--r-- | js/src/jit/mips-shared/Assembler-mips-shared.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/src/jit/mips-shared/Assembler-mips-shared.h b/js/src/jit/mips-shared/Assembler-mips-shared.h index a619fa0e0..fbf1fefdd 100644 --- a/js/src/jit/mips-shared/Assembler-mips-shared.h +++ b/js/src/jit/mips-shared/Assembler-mips-shared.h @@ -1273,6 +1273,8 @@ class AssemblerMIPSShared : public AssemblerShared static void ToggleToJmp(CodeLocationLabel inst_); static void ToggleToCmp(CodeLocationLabel inst_); + static void UpdateLuiOriValue(Instruction* inst0, Instruction* inst1, uint32_t value); + void processCodeLabels(uint8_t* rawCode); bool bailed() { |