mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
[INFER] Tolerate scripts whose JIT code has already been destroyed when recompiling, bug 646215.
This commit is contained in:
parent
643346988b
commit
5b04fe74cd
@ -1936,7 +1936,7 @@ TypeCompartment::processPendingRecompiles(JSContext *cx)
|
||||
for (unsigned i = 0; i < pending->length(); i++) {
|
||||
JSScript *script = (*pending)[i];
|
||||
mjit::Recompiler recompiler(cx, script);
|
||||
if (!recompiler.recompile()) {
|
||||
if (script->hasJITCode() && !recompiler.recompile()) {
|
||||
pendingNukeTypes = true;
|
||||
js_delete< Vector<JSScript*> >(pending);
|
||||
return nukeTypes(cx);
|
||||
|
Loading…
Reference in New Issue
Block a user