summaryrefslogtreecommitdiffstats
path: root/js/src/jit/MIR.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-03-26 18:30:57 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-03-26 18:42:38 +0100
commit851cfd198bc01020cd411d4f1cd6586222700269 (patch)
treea8e09dd65cc3e27544dd221c0b99daabd5f14d08 /js/src/jit/MIR.h
parent1e1525c44c23bde16102a64e685e02a9ab6825cc (diff)
downloadUXP-851cfd198bc01020cd411d4f1cd6586222700269.tar
UXP-851cfd198bc01020cd411d4f1cd6586222700269.tar.gz
UXP-851cfd198bc01020cd411d4f1cd6586222700269.tar.lz
UXP-851cfd198bc01020cd411d4f1cd6586222700269.tar.xz
UXP-851cfd198bc01020cd411d4f1cd6586222700269.zip
Simplify some alias sets in IonMonkey.v2019.03.27
Diffstat (limited to 'js/src/jit/MIR.h')
-rw-r--r--js/src/jit/MIR.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/js/src/jit/MIR.h b/js/src/jit/MIR.h
index b2e84322f..fb0f22fc3 100644
--- a/js/src/jit/MIR.h
+++ b/js/src/jit/MIR.h
@@ -9910,10 +9910,6 @@ class MArraySlice
return unboxedType_;
}
- AliasSet getAliasSet() const override {
- return AliasSet::Store(AliasSet::BoxedOrUnboxedElements(unboxedType()) |
- AliasSet::ObjectFields);
- }
bool possiblyCalls() const override {
return true;
}
@@ -11837,7 +11833,8 @@ class MCallGetProperty
AliasSet getAliasSet() const override {
if (!idempotent_)
return AliasSet::Store(AliasSet::Any);
- return AliasSet::None();
+ return AliasSet::Load(AliasSet::ObjectFields | AliasSet::FixedSlot |
+ AliasSet::DynamicSlot);
}
bool possiblyCalls() const override {
return true;