summaryrefslogtreecommitdiffstats
path: root/js/src/vm/Runtime.cpp
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/vm/Runtime.cpp
parent0565262ff06f5d4d15aa712fb12337fbb26ec8b7 (diff)
downloadUXP-3ff383eaecedb3e86006704822a408daa20e3ccc.tar
UXP-3ff383eaecedb3e86006704822a408daa20e3ccc.tar.gz
UXP-3ff383eaecedb3e86006704822a408daa20e3ccc.tar.lz
UXP-3ff383eaecedb3e86006704822a408daa20e3ccc.tar.xz
UXP-3ff383eaecedb3e86006704822a408daa20e3ccc.zip
Remove isVerifyPreBarriersEnabled() stub and callers
Diffstat (limited to 'js/src/vm/Runtime.cpp')
-rw-r--r--js/src/vm/Runtime.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/src/vm/Runtime.cpp b/js/src/vm/Runtime.cpp
index 646d48299..0d6a3922c 100644
--- a/js/src/vm/Runtime.cpp
+++ b/js/src/vm/Runtime.cpp
@@ -868,8 +868,7 @@ bool
JSRuntime::activeGCInAtomsZone()
{
Zone* zone = atomsCompartment_->zone();
- return (zone->needsIncrementalBarrier() && !gc.isVerifyPreBarriersEnabled()) ||
- zone->wasGCStarted();
+ return zone->needsIncrementalBarrier() || zone->wasGCStarted();
}
void