From 4ec2eec70ad073e4aedd299eaa44cfbfba637d69 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Mon, 26 Jun 2017 23:43:05 +0200 Subject: [PATCH] Remove computeNonIncrementalMarkingForValidation(lock) and caller --- js/src/gc/GCRuntime.h | 1 - js/src/jsgc.cpp | 7 ------- 2 files changed, 8 deletions(-) diff --git a/js/src/gc/GCRuntime.h b/js/src/gc/GCRuntime.h index 0e6969055a..b1b4ffcba4 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 cf2981dbc1..5082d03713 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 =