mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1189906 - Remove the unused UseSavedRoots enum; r=jonco
This commit is contained in:
parent
fc9b5da650
commit
43fd045479
@ -632,13 +632,7 @@ class GCRuntime
|
||||
TraceRuntime,
|
||||
MarkRuntime
|
||||
};
|
||||
enum TraceRootsOrUsedSaved {
|
||||
TraceRoots,
|
||||
UseSavedRoots
|
||||
};
|
||||
void markRuntime(JSTracer* trc,
|
||||
TraceOrMarkRuntime traceOrMark = TraceRuntime,
|
||||
TraceRootsOrUsedSaved rootsSource = TraceRoots);
|
||||
void markRuntime(JSTracer* trc, TraceOrMarkRuntime traceOrMark = TraceRuntime);
|
||||
|
||||
void notifyDidPaint();
|
||||
void shrinkBuffers();
|
||||
|
@ -331,14 +331,11 @@ js::gc::MarkPersistentRootedChains(JSTracer* trc)
|
||||
}
|
||||
|
||||
void
|
||||
js::gc::GCRuntime::markRuntime(JSTracer* trc,
|
||||
TraceOrMarkRuntime traceOrMark,
|
||||
TraceRootsOrUsedSaved rootsSource)
|
||||
js::gc::GCRuntime::markRuntime(JSTracer* trc, TraceOrMarkRuntime traceOrMark)
|
||||
{
|
||||
gcstats::AutoPhase ap(stats, gcstats::PHASE_MARK_ROOTS);
|
||||
|
||||
MOZ_ASSERT(traceOrMark == TraceRuntime || traceOrMark == MarkRuntime);
|
||||
MOZ_ASSERT(rootsSource == TraceRoots || rootsSource == UseSavedRoots);
|
||||
|
||||
MOZ_ASSERT(!rt->mainThread.suppressGC);
|
||||
|
||||
|
@ -4201,7 +4201,7 @@ js::gc::MarkingValidator::nonIncrementalMark()
|
||||
chunk->bitmap.clear();
|
||||
}
|
||||
|
||||
gc->markRuntime(gcmarker, GCRuntime::MarkRuntime, GCRuntime::UseSavedRoots);
|
||||
gc->markRuntime(gcmarker, GCRuntime::MarkRuntime);
|
||||
|
||||
SliceBudget budget;
|
||||
gc->incrementalState = MARK;
|
||||
|
Loading…
Reference in New Issue
Block a user