summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2017-06-26 23:57:55 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-02-03 17:50:59 +0100
commitd184e493d92de8a99adb83a0fe34f90f576b064c (patch)
treefe3153fbeffccbc9928901dcdefc87dc9f3032d0 /js
parent6b289446151b6c672e33a5de4f97edf9e83b27a9 (diff)
downloadUXP-d184e493d92de8a99adb83a0fe34f90f576b064c.tar
UXP-d184e493d92de8a99adb83a0fe34f90f576b064c.tar.gz
UXP-d184e493d92de8a99adb83a0fe34f90f576b064c.tar.lz
UXP-d184e493d92de8a99adb83a0fe34f90f576b064c.tar.xz
UXP-d184e493d92de8a99adb83a0fe34f90f576b064c.zip
Remove pushZealSelectedObjects() and caller
Diffstat (limited to 'js')
-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;