summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-04-09 00:31:18 +0200
committerMoonchild <moonchild@palemoon.org>2022-04-09 00:31:18 +0200
commitac9fdbf123c0ea1aa162f998e80442a65506382b (patch)
treedb902278ed430724e934a67915c86339b80ee222
parente6101f7fa64a81c0617a83bbd82e95717d87e2af (diff)
downloaduxp-ac9fdbf123c0ea1aa162f998e80442a65506382b.tar.gz
[js] Fix AliasSet of MLoadTypedArrayElementHole
-rw-r--r--js/src/jit/MIR.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/jit/MIR.h b/js/src/jit/MIR.h
index 8fd777d3ee..a398ef3344 100644
--- a/js/src/jit/MIR.h
+++ b/js/src/jit/MIR.h
@@ -10113,7 +10113,7 @@ class MLoadTypedArrayElementHole
return congruentIfOperandsEqual(other);
}
AliasSet getAliasSet() const override {
- return AliasSet::Load(AliasSet::UnboxedElement);
+ return AliasSet::Load(AliasSet::UnboxedElement | AliasSet::ObjectFields);
}
bool canProduceFloat32() const override { return arrayType_ == Scalar::Float32; }