mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 599400: handle recompiling top-level script for debugging, r=dvander
--HG-- extra : rebase_source : c74cc4bb3291e9c35c28066378cb1ece852869d2
This commit is contained in:
parent
4793afb76c
commit
f43643b503
@ -152,7 +152,7 @@ Recompiler::recompile()
|
|||||||
/* If we get this far, the script is live, and we better be safe to re-jit. */
|
/* If we get this far, the script is live, and we better be safe to re-jit. */
|
||||||
JS_ASSERT(cx->compartment->debugMode);
|
JS_ASSERT(cx->compartment->debugMode);
|
||||||
|
|
||||||
Compiler c(cx, script, firstFrame->fun(), &firstFrame->scopeChain());
|
Compiler c(cx, script, firstFrame->maybeFun(), &firstFrame->scopeChain());
|
||||||
if (c.Compile() != Compile_Okay)
|
if (c.Compile() != Compile_Okay)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user