summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-10-24 12:13:26 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-10-24 12:13:26 +0200
commite8c5582bec49058508b2de9f2f292f3a25e5278e (patch)
tree8fe6a6fd500f50bba9a0fc8be4f2e0eb42d64bdb /js
parent7bccd87695b792ec54fe0cb027cc6b6dc8baf454 (diff)
downloadUXP-e8c5582bec49058508b2de9f2f292f3a25e5278e.tar
UXP-e8c5582bec49058508b2de9f2f292f3a25e5278e.tar.gz
UXP-e8c5582bec49058508b2de9f2f292f3a25e5278e.tar.lz
UXP-e8c5582bec49058508b2de9f2f292f3a25e5278e.tar.xz
UXP-e8c5582bec49058508b2de9f2f292f3a25e5278e.zip
Fix type barrier in IonBuilder::jsop_getimport.
Diffstat (limited to 'js')
-rw-r--r--js/src/jit/IonBuilder.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/js/src/jit/IonBuilder.cpp b/js/src/jit/IonBuilder.cpp
index 2d053de5a..0c69729a4 100644
--- a/js/src/jit/IonBuilder.cpp
+++ b/js/src/jit/IonBuilder.cpp
@@ -8895,10 +8895,8 @@ IonBuilder::jsop_getimport(PropertyName* name)
if (!emitted) {
// This can happen if we don't have type information.
- TypeSet::ObjectKey* staticKey = TypeSet::ObjectKey::get(targetEnv);
TemporaryTypeSet* types = bytecodeTypes(pc);
- BarrierKind barrier = PropertyReadNeedsTypeBarrier(analysisContext, constraints(), staticKey,
- name, types, /* updateObserved = */ true);
+ BarrierKind barrier = BarrierKind::TypeSet;
if (!loadStaticSlot(targetEnv, barrier, types, shape->slot()))
return false;