mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-06 07:17:30 +09:00
Simplify some alias sets in IonMonkey.
This commit is contained in:
parent
3b24095083
commit
c3a58ab50b
2 changed files with 4 additions and 6 deletions
|
|
@ -102,7 +102,6 @@ GetObject(const MDefinition* ins)
|
||||||
case MDefinition::Op_SetDisjointTypedElements:
|
case MDefinition::Op_SetDisjointTypedElements:
|
||||||
case MDefinition::Op_ArrayPopShift:
|
case MDefinition::Op_ArrayPopShift:
|
||||||
case MDefinition::Op_ArrayPush:
|
case MDefinition::Op_ArrayPush:
|
||||||
case MDefinition::Op_ArraySlice:
|
|
||||||
case MDefinition::Op_LoadTypedArrayElementHole:
|
case MDefinition::Op_LoadTypedArrayElementHole:
|
||||||
case MDefinition::Op_StoreTypedArrayElementHole:
|
case MDefinition::Op_StoreTypedArrayElementHole:
|
||||||
case MDefinition::Op_LoadFixedSlot:
|
case MDefinition::Op_LoadFixedSlot:
|
||||||
|
|
@ -126,6 +125,7 @@ GetObject(const MDefinition* ins)
|
||||||
object = ins->getOperand(0);
|
object = ins->getOperand(0);
|
||||||
break;
|
break;
|
||||||
case MDefinition::Op_GetPropertyCache:
|
case MDefinition::Op_GetPropertyCache:
|
||||||
|
case MDefinition::Op_CallGetProperty:
|
||||||
case MDefinition::Op_LoadTypedArrayElementStatic:
|
case MDefinition::Op_LoadTypedArrayElementStatic:
|
||||||
case MDefinition::Op_StoreTypedArrayElementStatic:
|
case MDefinition::Op_StoreTypedArrayElementStatic:
|
||||||
case MDefinition::Op_GetDOMProperty:
|
case MDefinition::Op_GetDOMProperty:
|
||||||
|
|
@ -148,6 +148,7 @@ GetObject(const MDefinition* ins)
|
||||||
case MDefinition::Op_WasmLoadGlobalVar:
|
case MDefinition::Op_WasmLoadGlobalVar:
|
||||||
case MDefinition::Op_WasmStoreGlobalVar:
|
case MDefinition::Op_WasmStoreGlobalVar:
|
||||||
case MDefinition::Op_ArrayJoin:
|
case MDefinition::Op_ArrayJoin:
|
||||||
|
case MDefinition::Op_ArraySlice:
|
||||||
return nullptr;
|
return nullptr;
|
||||||
default:
|
default:
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
|
|
||||||
|
|
@ -9910,10 +9910,6 @@ class MArraySlice
|
||||||
return unboxedType_;
|
return unboxedType_;
|
||||||
}
|
}
|
||||||
|
|
||||||
AliasSet getAliasSet() const override {
|
|
||||||
return AliasSet::Store(AliasSet::BoxedOrUnboxedElements(unboxedType()) |
|
|
||||||
AliasSet::ObjectFields);
|
|
||||||
}
|
|
||||||
bool possiblyCalls() const override {
|
bool possiblyCalls() const override {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
@ -11837,7 +11833,8 @@ class MCallGetProperty
|
||||||
AliasSet getAliasSet() const override {
|
AliasSet getAliasSet() const override {
|
||||||
if (!idempotent_)
|
if (!idempotent_)
|
||||||
return AliasSet::Store(AliasSet::Any);
|
return AliasSet::Store(AliasSet::Any);
|
||||||
return AliasSet::None();
|
return AliasSet::Load(AliasSet::ObjectFields | AliasSet::FixedSlot |
|
||||||
|
AliasSet::DynamicSlot);
|
||||||
}
|
}
|
||||||
bool possiblyCalls() const override {
|
bool possiblyCalls() const override {
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue