Remove needZealousGC()

This commit is contained in:
wolfbeast 2017-06-26 23:14:55 +02:00 committed by Roy Tam
commit 344da7aee8

View file

@ -600,8 +600,6 @@ class GCRuntime
void finishRoots();
void finish();
inline bool needZealousGC();
MOZ_MUST_USE bool addRoot(Value* vp, const char* name);
void removeRoot(Value* vp);
void setMarkStackLimit(size_t limit, AutoLockGC& lock);
@ -1352,8 +1350,6 @@ class MOZ_RAII AutoMaybeStartBackgroundAllocation
}
};
inline bool GCRuntime::needZealousGC() { return false; }
} /* namespace gc */
} /* namespace js */