diff options
author | Moonchild <moonchild@palemoon.org> | 2020-05-19 22:14:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-19 22:14:43 +0200 |
commit | 750b4c3a11e6ed4d92598072899b02c549f17d26 (patch) | |
tree | 75e1ec3ab5ecec3a0ec29a176a3b46ef33609b76 /js/src/jit/mips-shared/Lowering-mips-shared.cpp | |
parent | ffb32138cbe23dc275ec409770246739f9678cef (diff) | |
parent | 052a035958d43c3fb0a980c0c7a93ad2073afddf (diff) | |
download | UXP-750b4c3a11e6ed4d92598072899b02c549f17d26.tar UXP-750b4c3a11e6ed4d92598072899b02c549f17d26.tar.gz UXP-750b4c3a11e6ed4d92598072899b02c549f17d26.tar.lz UXP-750b4c3a11e6ed4d92598072899b02c549f17d26.tar.xz UXP-750b4c3a11e6ed4d92598072899b02c549f17d26.zip |
Merge pull request #1544 from FlyGoat/mips-upstream
Implements initial MIPS Support
Diffstat (limited to 'js/src/jit/mips-shared/Lowering-mips-shared.cpp')
-rw-r--r-- | js/src/jit/mips-shared/Lowering-mips-shared.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/jit/mips-shared/Lowering-mips-shared.cpp b/js/src/jit/mips-shared/Lowering-mips-shared.cpp index f328d16f7..8c78f56b7 100644 --- a/js/src/jit/mips-shared/Lowering-mips-shared.cpp +++ b/js/src/jit/mips-shared/Lowering-mips-shared.cpp @@ -324,7 +324,7 @@ LIRGeneratorMIPSShared::visitWasmLoad(MWasmLoad* ins) LAllocation ptr = useRegisterAtStart(base); - if (ins->access().isUnaligned()) { + if (IsUnaligned(ins->access())) { if (ins->type() == MIRType::Int64) { auto* lir = new(alloc()) LWasmUnalignedLoadI64(ptr, temp()); if (ins->access().offset()) @@ -367,7 +367,7 @@ LIRGeneratorMIPSShared::visitWasmStore(MWasmStore* ins) MDefinition* value = ins->value(); LAllocation baseAlloc = useRegisterAtStart(base); - if (ins->access().isUnaligned()) { + if (IsUnaligned(ins->access())) { if (ins->type() == MIRType::Int64) { LInt64Allocation valueAlloc = useInt64RegisterAtStart(value); auto* lir = new(alloc()) LWasmUnalignedStoreI64(baseAlloc, valueAlloc, temp()); |