Remove finishMarkingValidation and caller

This commit is contained in:
wolfbeast committed 2018-02-03 17:50:00 +01:00
1 parent 0789b99d87
commit f5bab22699
2 files changed
-9

No files matched your search

-2
View File
@@ -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
-7
View File
@@ -3885,11 +3885,6 @@ GCRuntime::markAllGrayReferences(gcstats::Phase phase)
markGrayReferences<GCZonesIter, GCCompartmentsIter>(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()) {