mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-25 16:47:29 +09:00
Fix type barrier in IonBuilder::jsop_getimport.
This commit is contained in:
parent
0e80c15692
commit
8896e73c1a
1 changed files with 1 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue