зеркало из https://github.com/mozilla/gecko-dev.git
Bug 973574 - Fix AutoDebugModeInvalidation to not call FinishDiscardJitCode if it didn't discard JIT code. r=shu
This commit is contained in:
Родитель
676729d71d
Коммит
10401a9c64
|
@ -2879,7 +2879,9 @@ AutoDebugModeInvalidation::~AutoDebugModeInvalidation()
|
|||
if (comp_) {
|
||||
FinishDiscardJitCode(fop, comp_);
|
||||
} else {
|
||||
for (CompartmentsInZoneIter comp(zone_); !comp.done(); comp.next())
|
||||
FinishDiscardJitCode(fop, comp);
|
||||
for (CompartmentsInZoneIter comp(zone_); !comp.done(); comp.next()) {
|
||||
if (comp->principals)
|
||||
FinishDiscardJitCode(fop, comp);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче