mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-28 18:17: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) {
|
if (!emitted) {
|
||||||
// This can happen if we don't have type information.
|
// This can happen if we don't have type information.
|
||||||
TypeSet::ObjectKey* staticKey = TypeSet::ObjectKey::get(targetEnv);
|
|
||||||
TemporaryTypeSet* types = bytecodeTypes(pc);
|
TemporaryTypeSet* types = bytecodeTypes(pc);
|
||||||
BarrierKind barrier = PropertyReadNeedsTypeBarrier(analysisContext, constraints(), staticKey,
|
BarrierKind barrier = BarrierKind::TypeSet;
|
||||||
name, types, /* updateObserved = */ true);
|
|
||||||
|
|
||||||
if (!loadStaticSlot(targetEnv, barrier, types, shape->slot()))
|
if (!loadStaticSlot(targetEnv, barrier, types, shape->slot()))
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue