mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 934799 - Part 2: Disable lazy parsing for JSD. (r=sfink)
This commit is contained in:
parent
76733b4b96
commit
02e48f74ed
@ -141,7 +141,9 @@ CanLazilyParse(ExclusiveContext *cx, const ReadOnlyCompileOptions &options)
|
||||
{
|
||||
return options.canLazilyParse &&
|
||||
options.compileAndGo &&
|
||||
options.sourcePolicy == CompileOptions::SAVE_SOURCE;
|
||||
options.sourcePolicy == CompileOptions::SAVE_SOURCE &&
|
||||
!(cx->compartment()->debugMode() &&
|
||||
cx->compartment()->runtimeFromAnyThread()->debugHooks.newScriptHook);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user