summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-10-24 12:13:26 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-10-24 22:42:21 +0200
commit28238d1ff5ad0828bd814ecc7d8f081493038fb8 (patch)
tree1f48bd8569021347251c016bb9a8a07d71d0fc5f
parent250875046a10ea5ca64d787a7870b1a3aba7aa3d (diff)
downloadUXP-28238d1ff5ad0828bd814ecc7d8f081493038fb8.tar
UXP-28238d1ff5ad0828bd814ecc7d8f081493038fb8.tar.gz
UXP-28238d1ff5ad0828bd814ecc7d8f081493038fb8.tar.lz
UXP-28238d1ff5ad0828bd814ecc7d8f081493038fb8.tar.xz
UXP-28238d1ff5ad0828bd814ecc7d8f081493038fb8.zip
Fix type barrier in IonBuilder::jsop_getimport.
-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;