зеркало из https://github.com/mozilla/gecko-dev.git
Bug 986139 - Purge caches when preserving PJS JIT code. (r=terrence)
This commit is contained in:
Родитель
a375bd024e
Коммит
dc2736131b
|
@ -198,10 +198,12 @@ Zone::discardJitCode(FreeOp *fop)
|
|||
// parallel. Note that we mark their baseline scripts as active as
|
||||
// well to preserve them.
|
||||
if (script->hasParallelIonScript()) {
|
||||
if (jit::ShouldPreserveParallelJITCode(runtimeFromMainThread(), script))
|
||||
if (jit::ShouldPreserveParallelJITCode(runtimeFromMainThread(), script)) {
|
||||
script->parallelIonScript()->purgeCaches(this);
|
||||
script->baselineScript()->setActive();
|
||||
else
|
||||
} else {
|
||||
jit::FinishInvalidation<ParallelExecution>(fop, script);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Загрузка…
Ссылка в новой задаче