Fix type barrier in IonBuilder::jsop_getimport.
This commit is contained in:
parent
c9d2fb326d
commit
b559809cbc
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue