Bug 1502105 - Remove unused template parameter from GCRuntime::markGrayReferences r=sfink

This commit is contained in:
Jon Coppeard 2018-10-26 11:03:44 +01:00
parent a0aee56364
commit 782c5ea2b9
2 changed files with 5 additions and 5 deletions

View File

@ -4843,7 +4843,7 @@ GCRuntime::markWeakReferencesInCurrentGroup(gcstats::PhaseKind phase)
markWeakReferences<SweepGroupZonesIter>(phase);
}
template <class ZoneIterT, class CompartmentIterT>
template <class ZoneIterT>
void
GCRuntime::markGrayReferences(gcstats::PhaseKind phase)
{
@ -4864,7 +4864,7 @@ GCRuntime::markGrayReferences(gcstats::PhaseKind phase)
void
GCRuntime::markGrayReferencesInCurrentGroup(gcstats::PhaseKind phase)
{
markGrayReferences<SweepGroupZonesIter, SweepGroupCompartmentsIter>(phase);
markGrayReferences<SweepGroupZonesIter>(phase);
}
void
@ -4876,7 +4876,7 @@ GCRuntime::markAllWeakReferences(gcstats::PhaseKind phase)
void
GCRuntime::markAllGrayReferences(gcstats::PhaseKind phase)
{
markGrayReferences<GCZonesIter, GCCompartmentsIter>(phase);
markGrayReferences<GCZonesIter>(phase);
}
#ifdef JS_GC_ZEAL

View File

@ -616,9 +616,9 @@ class GCRuntime
void markCompartments();
IncrementalProgress markUntilBudgetExhaused(SliceBudget& sliceBudget, gcstats::PhaseKind phase);
void drainMarkStack();
template <class CompartmentIterT> void markWeakReferences(gcstats::PhaseKind phase);
template <class ZoneIterT> void markWeakReferences(gcstats::PhaseKind phase);
void markWeakReferencesInCurrentGroup(gcstats::PhaseKind phase);
template <class ZoneIterT, class CompartmentIterT> void markGrayReferences(gcstats::PhaseKind phase);
template <class ZoneIterT> void markGrayReferences(gcstats::PhaseKind phase);
void markBufferedGrayRoots(JS::Zone* zone);
void markGrayReferencesInCurrentGroup(gcstats::PhaseKind phase);
void markAllWeakReferences(gcstats::PhaseKind phase);