summaryrefslogtreecommitdiffstats
path: root/js/src/jsgc.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-02-20 16:47:04 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-04-14 12:48:23 +0200
commit201be4d8fcd78484ad2132d16fd5c06448a41aca (patch)
treee90488fffeb4a2cc3b31a34d6307b11b56034f27 /js/src/jsgc.cpp
parent9e586a1d0ebe7539cf9695d5755c8647fd17bc51 (diff)
downloadUXP-201be4d8fcd78484ad2132d16fd5c06448a41aca.tar
UXP-201be4d8fcd78484ad2132d16fd5c06448a41aca.tar.gz
UXP-201be4d8fcd78484ad2132d16fd5c06448a41aca.tar.lz
UXP-201be4d8fcd78484ad2132d16fd5c06448a41aca.tar.xz
UXP-201be4d8fcd78484ad2132d16fd5c06448a41aca.zip
Issue #316 - Be more gentle with the CC and nursery.
Diffstat (limited to 'js/src/jsgc.cpp')
-rw-r--r--js/src/jsgc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/jsgc.cpp b/js/src/jsgc.cpp
index 4078ac0a7..3ad526f74 100644
--- a/js/src/jsgc.cpp
+++ b/js/src/jsgc.cpp
@@ -6776,9 +6776,9 @@ js::gc::NextCellUniqueId(JSRuntime* rt)
return rt->gc.nextCellUniqueId();
}
-#ifdef MOZ_DEVTOOLS_SERVER
namespace js {
namespace gc {
+#ifdef MOZ_DEVTOOLS_SERVER
namespace MemInfo {
static bool
@@ -6994,6 +6994,7 @@ NewMemoryInfoObject(JSContext* cx)
return obj;
}
+#endif // MOZ_DEVTOOLS_SERVER
const char*
StateName(State state)
@@ -7033,7 +7034,6 @@ AutoEmptyNursery::AutoEmptyNursery(JSRuntime *rt)
} /* namespace gc */
} /* namespace js */
-#endif
#ifdef DEBUG
void