summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-02-20 16:47:04 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-02-20 16:47:04 +0100
commitd53b11c9dc34d0a8c3bb4ad862cff1e0ce566457 (patch)
treeab7366217c922e428845619f5e95b3c28285fa81 /js
parent28f67bddcf4e30abcdfb0bfc6bc4d5300aaa6621 (diff)
downloadUXP-d53b11c9dc34d0a8c3bb4ad862cff1e0ce566457.tar
UXP-d53b11c9dc34d0a8c3bb4ad862cff1e0ce566457.tar.gz
UXP-d53b11c9dc34d0a8c3bb4ad862cff1e0ce566457.tar.lz
UXP-d53b11c9dc34d0a8c3bb4ad862cff1e0ce566457.tar.xz
UXP-d53b11c9dc34d0a8c3bb4ad862cff1e0ce566457.zip
Issue #316 - Be more gentle with the CC and nursery.
Diffstat (limited to 'js')
-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