mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 893752 - Clean up compartment compiler outputs after releasing all JIT code, r=jandem.
This commit is contained in:
parent
fab2f97dd2
commit
63c8435c3d
@ -4859,6 +4859,10 @@ js::ReleaseAllJITCode(FreeOp *fop)
|
||||
ion::FinishDiscardBaselineScript(fop, script);
|
||||
}
|
||||
}
|
||||
|
||||
/* Sweep now invalidated compiler outputs from each compartment. */
|
||||
for (CompartmentsIter comp(fop->runtime()); !comp.done(); comp.next())
|
||||
comp->types.sweepCompilerOutputs(fop, false);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user