mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 15:28:39 +09:00
ported mozilla upstream bug: Bug 1607443 - Fix some alias sets. r=tcampbell, a=lizzard
This commit is contained in:
parent
9fff83592e
commit
b8ab527949
2 changed files with 2 additions and 11 deletions
|
|
@ -86,8 +86,6 @@ GetObject(const MDefinition* ins)
|
|||
case MDefinition::Op_SetInitializedLength:
|
||||
case MDefinition::Op_ArrayLength:
|
||||
case MDefinition::Op_SetArrayLength:
|
||||
case MDefinition::Op_StoreElementHole:
|
||||
case MDefinition::Op_FallibleStoreElement:
|
||||
case MDefinition::Op_TypedObjectDescr:
|
||||
case MDefinition::Op_Slots:
|
||||
case MDefinition::Op_Elements:
|
||||
|
|
@ -143,6 +141,8 @@ GetObject(const MDefinition* ins)
|
|||
case MDefinition::Op_WasmStoreGlobalVar:
|
||||
case MDefinition::Op_ArrayJoin:
|
||||
case MDefinition::Op_ArraySlice:
|
||||
case MDefinition::Op_StoreElementHole:
|
||||
case MDefinition::Op_FallibleStoreElement:
|
||||
return nullptr;
|
||||
default:
|
||||
#ifdef DEBUG
|
||||
|
|
|
|||
|
|
@ -9490,12 +9490,6 @@ class MStoreElementHole
|
|||
TRIVIAL_NEW_WRAPPERS
|
||||
NAMED_OPERANDS((0, object), (1, elements), (2, index), (3, value))
|
||||
|
||||
AliasSet getAliasSet() const override {
|
||||
// StoreElementHole can update the initialized length, the array length
|
||||
// or reallocate obj->elements.
|
||||
return AliasSet::Store(AliasSet::ObjectFields | AliasSet::Element);
|
||||
}
|
||||
|
||||
ALLOW_CLONE(MStoreElementHole)
|
||||
};
|
||||
|
||||
|
|
@ -9526,9 +9520,6 @@ class MFallibleStoreElement
|
|||
TRIVIAL_NEW_WRAPPERS
|
||||
NAMED_OPERANDS((0, object), (1, elements), (2, index), (3, value))
|
||||
|
||||
AliasSet getAliasSet() const override {
|
||||
return AliasSet::Store(AliasSet::ObjectFields | AliasSet::Element);
|
||||
}
|
||||
bool strict() const {
|
||||
return strict_;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue