From d184e493d92de8a99adb83a0fe34f90f576b064c Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Mon, 26 Jun 2017 23:57:55 +0200 Subject: Remove pushZealSelectedObjects() and caller --- js/src/gc/GCRuntime.h | 1 - js/src/jsgc.cpp | 8 -------- 2 files changed, 9 deletions(-) (limited to 'js') diff --git a/js/src/gc/GCRuntime.h b/js/src/gc/GCRuntime.h index 638bd18c7..ae4f03cea 100644 --- a/js/src/gc/GCRuntime.h +++ b/js/src/gc/GCRuntime.h @@ -921,7 +921,6 @@ class GCRuntime void incrementalCollectSlice(SliceBudget& budget, JS::gcreason::Reason reason, AutoLockForExclusiveAccess& lock); - void pushZealSelectedObjects(); void purgeRuntime(AutoLockForExclusiveAccess& lock); MOZ_MUST_USE bool beginMarkPhase(JS::gcreason::Reason reason, AutoLockForExclusiveAccess& lock); bool shouldPreserveJITCode(JSCompartment* comp, int64_t currentTime, diff --git a/js/src/jsgc.cpp b/js/src/jsgc.cpp index 04aaeba68..d61df8fe3 100644 --- a/js/src/jsgc.cpp +++ b/js/src/jsgc.cpp @@ -5307,11 +5307,6 @@ AutoGCSlice::~AutoGCSlice() } } -void -GCRuntime::pushZealSelectedObjects() -{ -} - static bool IsShutdownGC(JS::gcreason::Reason reason) { @@ -5357,9 +5352,6 @@ GCRuntime::incrementalCollectSlice(SliceBudget& budget, JS::gcreason::Reason rea return; } - if (!destroyingRuntime) - pushZealSelectedObjects(); - incrementalState = State::Mark; MOZ_FALLTHROUGH; -- cgit v1.2.3