Browse Source

Fix type barrier in IonBuilder::jsop_getimport.

pull/24/head
wolfbeast 3 years ago committed by Roy Tam
parent
commit
8896e73c1a
  1. 4
      js/src/jit/IonBuilder.cpp

4
js/src/jit/IonBuilder.cpp

@ -8893,10 +8893,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;

Loading…
Cancel
Save