From 3ff383eaecedb3e86006704822a408daa20e3ccc Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Mon, 26 Jun 2017 22:51:31 +0200 Subject: Remove isVerifyPreBarriersEnabled() stub and callers --- js/src/gc/GCRuntime.h | 2 -- js/src/gc/Nursery.cpp | 1 - 2 files changed, 3 deletions(-) (limited to 'js/src/gc') diff --git a/js/src/gc/GCRuntime.h b/js/src/gc/GCRuntime.h index d4bbe29db..5252903f3 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 d37c1673b..3a3860d6d 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; -- cgit v1.2.3