summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--js/src/gc/GCRuntime.h1
-rw-r--r--js/src/jsgc.cpp8
2 files changed, 0 insertions, 9 deletions
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;