mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1138676 - Watch for groups with lazy protos in PropertyReadNeedsTypeBarrier, r=jandem.
This commit is contained in:
parent
766eba80ee
commit
84f64a2290
@ -4588,7 +4588,7 @@ jit::PropertyReadNeedsTypeBarrier(JSContext *propertycx,
|
||||
if (key->isSingleton())
|
||||
obj = key->singleton();
|
||||
else
|
||||
obj = key->proto().toObjectOrNull();
|
||||
obj = key->proto().isLazy() ? nullptr : key->proto().toObjectOrNull();
|
||||
|
||||
while (obj) {
|
||||
if (!obj->getClass()->isNative())
|
||||
|
Loading…
Reference in New Issue
Block a user