mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
[JAEGER] Fixed regression in bug 583692 that disabled scope ICs.
This commit is contained in:
parent
cbd7bb3275
commit
86b6472243
@ -1654,14 +1654,15 @@ class ScopeNameCompiler : public PICStubCompiler
|
||||
return disable("property is on proto of a scope object");
|
||||
|
||||
sprop = (JSScopeProperty *)prop;
|
||||
|
||||
if (obj->getClass() == &js_CallClass)
|
||||
return generateCallStub();
|
||||
|
||||
if (!sprop->hasDefaultGetterOrIsMethod())
|
||||
return disable("getter");
|
||||
if (!SPROP_HAS_VALID_SLOT(sprop, holder->scope()))
|
||||
return disable("invalid slot");
|
||||
|
||||
if (obj->getClass() == &js_CallClass)
|
||||
return generateCallStub();
|
||||
|
||||
if (!obj->getParent())
|
||||
return generateGlobalStub();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user