[js] Fix AliasSet of MLoadTypedArrayElementHole

This commit is contained in:
Moonchild 2022-04-09 00:31:18 +02:00 committed by roytam1
commit 260cc45e51

View file

@ -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; }