mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Backing out bug 815010 due to test failures
This commit is contained in:
commit
ddc6a67d43
@ -448,13 +448,7 @@ JS_ReleaseFunctionLocalNameArray(JSContext *cx, void *mark)
|
||||
JS_PUBLIC_API(JSScript *)
|
||||
JS_GetFunctionScript(JSContext *cx, JSFunction *fun)
|
||||
{
|
||||
if (fun->isNative())
|
||||
return NULL;
|
||||
assertSameCompartment(cx, fun);
|
||||
RawScript script = fun->getOrCreateScript(cx);
|
||||
if (!script)
|
||||
MOZ_CRASH();
|
||||
return script;
|
||||
return fun->maybeNonLazyScript();
|
||||
}
|
||||
|
||||
JS_PUBLIC_API(JSNative)
|
||||
|
Loading…
Reference in New Issue
Block a user