diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2017-06-26 23:08:26 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-02-03 17:41:03 +0100 |
commit | 6f342b2269e769a27dd0476cc4dc8a9c93c20235 (patch) | |
tree | 10160b96267cf690aa97904939f73010db651cac /js/src/gc/Nursery.cpp | |
parent | 3ff383eaecedb3e86006704822a408daa20e3ccc (diff) | |
download | UXP-6f342b2269e769a27dd0476cc4dc8a9c93c20235.tar UXP-6f342b2269e769a27dd0476cc4dc8a9c93c20235.tar.gz UXP-6f342b2269e769a27dd0476cc4dc8a9c93c20235.tar.lz UXP-6f342b2269e769a27dd0476cc4dc8a9c93c20235.tar.xz UXP-6f342b2269e769a27dd0476cc4dc8a9c93c20235.zip |
Remove hasZealMode(mode) and callers
Diffstat (limited to 'js/src/gc/Nursery.cpp')
-rw-r--r-- | js/src/gc/Nursery.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/js/src/gc/Nursery.cpp b/js/src/gc/Nursery.cpp index 3a3860d6d..72530b31b 100644 --- a/js/src/gc/Nursery.cpp +++ b/js/src/gc/Nursery.cpp @@ -219,11 +219,8 @@ js::Nursery::isEmpty() const MOZ_ASSERT(runtime_); if (!isEnabled()) return true; - - if (!runtime_->hasZealMode(ZealMode::GenerationalGC)) { - MOZ_ASSERT(currentStartChunk_ == 0); - MOZ_ASSERT(currentStartPosition_ == chunk(0).start()); - } + MOZ_ASSERT(currentStartChunk_ == 0); + MOZ_ASSERT(currentStartPosition_ == chunk(0).start()); return position() == currentStartPosition_; } |