mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 789735 - Handle lazily-created TypeObjects in IonBuilder. r=dvander
This commit is contained in:
parent
3f7ddc83c6
commit
b1bb1d6ec3
@ -5611,10 +5611,10 @@ IonBuilder::annotateGetPropertyCache(JSContext *cx, MDefinition *obj, MGetProper
|
||||
if (!TestSingletonProperty(cx, proto, id, &knownConstant))
|
||||
return false;
|
||||
|
||||
if (!knownConstant || proto->type()->unknownProperties())
|
||||
if (!knownConstant || proto->getType(cx)->unknownProperties())
|
||||
continue;
|
||||
|
||||
types::HeapTypeSet *protoTypes = proto->type()->getProperty(cx, id, false);
|
||||
types::HeapTypeSet *protoTypes = proto->getType(cx)->getProperty(cx, id, false);
|
||||
if (!protoTypes)
|
||||
continue;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user