Remove pushZealSelectedObjects() and caller

This commit is contained in:
wolfbeast 2017-06-26 23:57:55 +02:00 committed by Roy Tam
commit 7e54c3428c
2 changed files with 0 additions and 9 deletions

View file

@ -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,

View file

@ -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;