From 6b289446151b6c672e33a5de4f97edf9e83b27a9 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Mon, 26 Jun 2017 23:55:48 +0200 Subject: Remove finishMarkingValidation and caller --- js/src/gc/GCRuntime.h | 2 -- js/src/jsgc.cpp | 7 ------- 2 files changed, 9 deletions(-) diff --git a/js/src/gc/GCRuntime.h b/js/src/gc/GCRuntime.h index 872e649fa..638bd18c7 100644 --- a/js/src/gc/GCRuntime.h +++ b/js/src/gc/GCRuntime.h @@ -977,8 +977,6 @@ class GCRuntime void releaseRelocatedArenasWithoutUnlocking(Arena* arenaList, const AutoLockGC& lock); void finishCollection(JS::gcreason::Reason reason); - void finishMarkingValidation(); - #ifdef DEBUG void checkForCompartmentMismatches(); #endif diff --git a/js/src/jsgc.cpp b/js/src/jsgc.cpp index 6fcb72b70..04aaeba68 100644 --- a/js/src/jsgc.cpp +++ b/js/src/jsgc.cpp @@ -3885,11 +3885,6 @@ GCRuntime::markAllGrayReferences(gcstats::Phase phase) markGrayReferences(phase); } -void -GCRuntime::finishMarkingValidation() -{ -} - static void DropStringWrappers(JSRuntime* rt) { @@ -4994,8 +4989,6 @@ GCRuntime::endSweepPhase(bool destroyingRuntime, AutoLockForExclusiveAccess& loc rt->setGCGrayBitsValid(true); } - finishMarkingValidation(); - #ifdef DEBUG for (ZonesIter zone(rt, WithAtoms); !zone.done(); zone.next()) { for (auto i : AllAllocKinds()) { -- cgit v1.2.3