diff options
author | Jiaxun Yang <jiaxun.yang@flygoat.com> | 2020-05-12 12:40:13 +0800 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-05-20 14:03:04 +0000 |
commit | f411e027165e7d95a6119d8dabbc15e4f3a206e8 (patch) | |
tree | f599523af694eab863e9c22be2e26f434c4ba15d /js/src/jit/arm/Assembler-arm.h | |
parent | a34d02924c825b17af0fd505d8fdb890d5ae5dc1 (diff) | |
download | UXP-f411e027165e7d95a6119d8dabbc15e4f3a206e8.tar UXP-f411e027165e7d95a6119d8dabbc15e4f3a206e8.tar.gz UXP-f411e027165e7d95a6119d8dabbc15e4f3a206e8.tar.lz UXP-f411e027165e7d95a6119d8dabbc15e4f3a206e8.tar.xz UXP-f411e027165e7d95a6119d8dabbc15e4f3a206e8.zip |
Bug 1330942 - move MemoryAccessDesc::isUnaligned to the ARM/MIPS platform layer
Tag: #1542
Diffstat (limited to 'js/src/jit/arm/Assembler-arm.h')
-rw-r--r-- | js/src/jit/arm/Assembler-arm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/js/src/jit/arm/Assembler-arm.h b/js/src/jit/arm/Assembler-arm.h index 8bb754a50..ecfb83b42 100644 --- a/js/src/jit/arm/Assembler-arm.h +++ b/js/src/jit/arm/Assembler-arm.h @@ -108,6 +108,8 @@ class ABIArgGenerator uint32_t stackBytesConsumedSoFar() const { return stackOffset_; } }; +bool IsUnaligned(const wasm::MemoryAccessDesc& access); + static constexpr Register ABINonArgReg0 = r4; static constexpr Register ABINonArgReg1 = r5; static constexpr Register ABINonArgReg2 = r6; |