summaryrefslogtreecommitdiffstats
path: root/js/src/jit/shared/Assembler-shared.h
diff options
context:
space:
mode:
authorJiaxun Yang <jiaxun.yang@flygoat.com>2020-05-12 12:40:13 +0800
committerMoonchild <moonchild@palemoon.org>2020-05-20 14:03:04 +0000
commitf411e027165e7d95a6119d8dabbc15e4f3a206e8 (patch)
treef599523af694eab863e9c22be2e26f434c4ba15d /js/src/jit/shared/Assembler-shared.h
parenta34d02924c825b17af0fd505d8fdb890d5ae5dc1 (diff)
downloadUXP-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/shared/Assembler-shared.h')
-rw-r--r--js/src/jit/shared/Assembler-shared.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/js/src/jit/shared/Assembler-shared.h b/js/src/jit/shared/Assembler-shared.h
index 8044e75cb..258f977e3 100644
--- a/js/src/jit/shared/Assembler-shared.h
+++ b/js/src/jit/shared/Assembler-shared.h
@@ -747,7 +747,6 @@ class MemoryAccessDesc
TrapOffset trapOffset() const { return *trapOffset_; }
bool isAtomic() const { return (barrierBefore_ | barrierAfter_) != jit::MembarNobits; }
bool isSimd() const { return Scalar::isSimdType(type_); }
- bool isUnaligned() const { return align() && align() < byteSize(); }
bool isPlainAsmJS() const { return !hasTrap(); }
void clearOffset() { offset_ = 0; }