From 93e6b657d10e5c74d0cc07cb59095cab8041be9c Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Mon, 26 Jun 2017 23:43:05 +0200 Subject: Remove computeNonIncrementalMarkingForValidation(lock) and caller --- js/src/gc/GCRuntime.h | 1 - js/src/jsgc.cpp | 7 ------- 2 files changed, 8 deletions(-) (limited to 'js') diff --git a/js/src/gc/GCRuntime.h b/js/src/gc/GCRuntime.h index 0e6969055..b1b4ffcba 100644 --- a/js/src/gc/GCRuntime.h +++ b/js/src/gc/GCRuntime.h @@ -977,7 +977,6 @@ class GCRuntime void releaseRelocatedArenasWithoutUnlocking(Arena* arenaList, const AutoLockGC& lock); void finishCollection(JS::gcreason::Reason reason); - void computeNonIncrementalMarkingForValidation(AutoLockForExclusiveAccess& lock); void validateIncrementalMarking(); void finishMarkingValidation(); diff --git a/js/src/jsgc.cpp b/js/src/jsgc.cpp index cf2981dbc..5082d0371 100644 --- a/js/src/jsgc.cpp +++ b/js/src/jsgc.cpp @@ -3885,11 +3885,6 @@ GCRuntime::markAllGrayReferences(gcstats::Phase phase) markGrayReferences(phase); } -void -GCRuntime::computeNonIncrementalMarkingForValidation(AutoLockForExclusiveAccess& lock) -{ -} - void GCRuntime::validateIncrementalMarking() { @@ -4761,8 +4756,6 @@ GCRuntime::beginSweepPhase(bool destroyingRuntime, AutoLockForExclusiveAccess& l releaseHeldRelocatedArenas(); - computeNonIncrementalMarkingForValidation(lock); - gcstats::AutoPhase ap(stats, gcstats::PHASE_SWEEP); sweepOnBackgroundThread = -- cgit v1.2.3