mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 975589, part 3 - Remove redundant AutoResolving object when resolving a builtin constructor. CallResolveOp still creates one. r=jwalden.
This commit is contained in:
parent
e93df5cdf6
commit
89556d234c
@ -3241,10 +3241,6 @@ MaybeResolveConstructor(ExclusiveContext *cxArg, Handle<GlobalObject*> global, J
|
||||
return false;
|
||||
|
||||
JSContext *cx = cxArg->asJSContext();
|
||||
RootedId name(cx, NameToId(ClassName(key, cx)));
|
||||
AutoResolving resolving(cx, global, name);
|
||||
if (resolving.alreadyStarted())
|
||||
return true;
|
||||
return GlobalObject::resolveConstructor(cx, global, key);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user