Remove computeNonIncrementalMarkingForValidation(lock) and caller

This commit is contained in:
wolfbeast 2017-06-26 23:43:05 +02:00 • committed by Roy Tam
commit 55d5d48137
2 changed files with 0 additions and 8 deletions

View file

@ -977,7 +977,6 @@ class GCRuntime
void releaseRelocatedArenasWithoutUnlocking(Arena* arenaList, const AutoLockGC& lock); void releaseRelocatedArenasWithoutUnlocking(Arena* arenaList, const AutoLockGC& lock);
void finishCollection(JS::gcreason::Reason reason); void finishCollection(JS::gcreason::Reason reason);
void computeNonIncrementalMarkingForValidation(AutoLockForExclusiveAccess& lock);
void validateIncrementalMarking(); void validateIncrementalMarking();
void finishMarkingValidation(); void finishMarkingValidation();

View file

@ -3885,11 +3885,6 @@ GCRuntime::markAllGrayReferences(gcstats::Phase phase)
markGrayReferences<GCZonesIter, GCCompartmentsIter>(phase); markGrayReferences<GCZonesIter, GCCompartmentsIter>(phase);
} }
void
GCRuntime::computeNonIncrementalMarkingForValidation(AutoLockForExclusiveAccess& lock)
{
}
void void
GCRuntime::validateIncrementalMarking() GCRuntime::validateIncrementalMarking()
{ {
@ -4761,8 +4756,6 @@ GCRuntime::beginSweepPhase(bool destroyingRuntime, AutoLockForExclusiveAccess& l
releaseHeldRelocatedArenas(); releaseHeldRelocatedArenas();
computeNonIncrementalMarkingForValidation(lock);
gcstats::AutoPhase ap(stats, gcstats::PHASE_SWEEP); gcstats::AutoPhase ap(stats, gcstats::PHASE_SWEEP);
sweepOnBackgroundThread = sweepOnBackgroundThread =