summaryrefslogtreecommitdiff
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
commitd32fb60c58a7de01aa67eb9f51bafc1a1b495a09 (patch)
tree1f48bd8569021347251c016bb9a8a07d71d0fc5f
parent19af0d7187ae57ba2b5d12e945794c50303b8078 (diff)
downloaduxp-d32fb60c58a7de01aa67eb9f51bafc1a1b495a09.tar.gz
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 2d053de5af..0c69729a4c 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;