Bug 1495643 - Remove unused declaration r=jonco
authorPaul Bone <pbone@mozilla.com>
Tue, 02 Oct 2018 15:42:27 +1000
changeset 497782 fcfe79760aa85edf977bb3753321c2858347505f
parent 497781 4505ab264626d70bdc34ed6e6f9d7b13ae074b48
child 497783 59b60df78c0793cf02ef2711bf6f0d79e6878f52
child 497808 fcdc1d5eaf1a932992287074d0c91504dd7180d8
push id1864
push userffxbld-merge
push dateMon, 03 Dec 2018 15:51:40 +0000
treeherdermozilla-release@f040763d99ad [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjonco
bugs1495643
milestone64.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1495643 - Remove unused declaration r=jonco
js/public/GCAPI.h
--- a/js/public/GCAPI.h
+++ b/js/public/GCAPI.h
@@ -749,24 +749,16 @@ class JS_PUBLIC_API(AutoDisableGeneratio
 /**
  * Returns true if generational allocation and collection is currently enabled
  * on the given runtime.
  */
 extern JS_PUBLIC_API(bool)
 IsGenerationalGCEnabled(JSRuntime* rt);
 
 /**
- * Returns the GC's "number". This does not correspond directly to the number
- * of GCs that have been run, but is guaranteed to be monotonically increasing
- * with GC activity.
- */
-extern JS_PUBLIC_API(size_t)
-GetGCNumber();
-
-/**
  * Pass a subclass of this "abstract" class to callees to require that they
  * never GC. Subclasses can use assertions or the hazard analysis to ensure no
  * GC happens.
  */
 class JS_PUBLIC_API(AutoRequireNoGC)
 {
   protected:
     AutoRequireNoGC() {}