summaryrefslogtreecommitdiff
path: root/js/src/gc
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2017-06-26 22:51:31 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-02-03 17:40:07 +0100
commit3ff383eaecedb3e86006704822a408daa20e3ccc (patch)
treea04dbc85fdafeb9a6cd151b190fe10adfe147d4f /js/src/gc
parent0565262ff06f5d4d15aa712fb12337fbb26ec8b7 (diff)
downloaduxp-3ff383eaecedb3e86006704822a408daa20e3ccc.tar.gz
Remove isVerifyPreBarriersEnabled() stub and callers
Diffstat (limited to 'js/src/gc')
-rw-r--r--js/src/gc/GCRuntime.h2
-rw-r--r--js/src/gc/Nursery.cpp1
2 files changed, 0 insertions, 3 deletions
diff --git a/js/src/gc/GCRuntime.h b/js/src/gc/GCRuntime.h
index d4bbe29db3..5252903f39 100644
--- a/js/src/gc/GCRuntime.h
+++ b/js/src/gc/GCRuntime.h
@@ -838,8 +838,6 @@ class GCRuntime
AutoMaybeStartBackgroundAllocation& maybeStartBGAlloc);
void recycleChunk(Chunk* chunk, const AutoLockGC& lock);
- bool isVerifyPreBarriersEnabled() const { return false; }
-
// Free certain LifoAlloc blocks when it is safe to do so.
void freeUnusedLifoBlocksAfterSweeping(LifoAlloc* lifo);
void freeAllLifoBlocksAfterSweeping(LifoAlloc* lifo);
diff --git a/js/src/gc/Nursery.cpp b/js/src/gc/Nursery.cpp
index d37c1673bd..3a3860d6d3 100644
--- a/js/src/gc/Nursery.cpp
+++ b/js/src/gc/Nursery.cpp
@@ -188,7 +188,6 @@ void
js::Nursery::enable()
{
MOZ_ASSERT(isEmpty());
- MOZ_ASSERT(!runtime()->gc.isVerifyPreBarriersEnabled());
if (isEnabled())
return;