summaryrefslogtreecommitdiffstats
path: root/js/src/jit/mips32
diff options
context:
space:
mode:
authorJiaxun Yang <jiaxun.yang@flygoat.com>2020-05-12 12:40:13 +0800
committerJiaxun Yang <jiaxun.yang@flygoat.com>2020-05-14 16:31:59 +0800
commit77544de5d66a8bf403a9e9db4c0eb7b98c437a65 (patch)
tree6a96a53bdd73735c95242b866243d36ae7f5fe7c /js/src/jit/mips32
parent9679f714f7c3a1da7af0ddd1c2005f8f7ffd039b (diff)
downloadUXP-77544de5d66a8bf403a9e9db4c0eb7b98c437a65.tar
UXP-77544de5d66a8bf403a9e9db4c0eb7b98c437a65.tar.gz
UXP-77544de5d66a8bf403a9e9db4c0eb7b98c437a65.tar.lz
UXP-77544de5d66a8bf403a9e9db4c0eb7b98c437a65.tar.xz
UXP-77544de5d66a8bf403a9e9db4c0eb7b98c437a65.zip
Bug 1330942 - move MemoryAccessDesc::isUnaligned to the ARM/MIPS platform layer
Tag: #1542
Diffstat (limited to 'js/src/jit/mips32')
-rw-r--r--js/src/jit/mips32/CodeGenerator-mips32.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/jit/mips32/CodeGenerator-mips32.cpp b/js/src/jit/mips32/CodeGenerator-mips32.cpp
index b947c14aa..33fea01ae 100644
--- a/js/src/jit/mips32/CodeGenerator-mips32.cpp
+++ b/js/src/jit/mips32/CodeGenerator-mips32.cpp
@@ -490,7 +490,7 @@ CodeGeneratorMIPS::emitWasmLoadI64(T* lir)
masm.memoryBarrier(mir->access().barrierBefore());
MOZ_ASSERT(INT64LOW_OFFSET == 0);
- if (mir->access().isUnaligned()) {
+ if (IsUnaligned(mir->access())) {
Register temp = ToRegister(lir->getTemp(1));
if (byteSize <= 4) {
@@ -577,7 +577,7 @@ CodeGeneratorMIPS::emitWasmStoreI64(T* lir)
masm.memoryBarrier(mir->access().barrierBefore());
MOZ_ASSERT(INT64LOW_OFFSET == 0);
- if (mir->access().isUnaligned()) {
+ if (IsUnaligned(mir->access())) {
Register temp = ToRegister(lir->getTemp(1));
if (byteSize <= 4) {