summaryrefslogtreecommitdiffstats
path: root/js/src/gc/Zone.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2017-06-26 23:08:26 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-02-03 17:41:03 +0100
commit6f342b2269e769a27dd0476cc4dc8a9c93c20235 (patch)
tree10160b96267cf690aa97904939f73010db651cac /js/src/gc/Zone.h
parent3ff383eaecedb3e86006704822a408daa20e3ccc (diff)
downloadUXP-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/Zone.h')
-rw-r--r--js/src/gc/Zone.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/js/src/gc/Zone.h b/js/src/gc/Zone.h
index a3a6dc07f..84d6f03dd 100644
--- a/js/src/gc/Zone.h
+++ b/js/src/gc/Zone.h
@@ -253,11 +253,7 @@ struct Zone : public JS::shadow::Zone,
// possibly at other times too.
uint64_t gcNumber();
- bool compileBarriers() const { return compileBarriers(needsIncrementalBarrier()); }
- bool compileBarriers(bool needsIncrementalBarrier) const {
- return needsIncrementalBarrier ||
- runtimeFromMainThread()->hasZealMode(js::gc::ZealMode::VerifierPre);
- }
+ bool compileBarriers() const { return needsIncrementalBarrier(); }
enum ShouldUpdateJit { DontUpdateJit, UpdateJit };
void setNeedsIncrementalBarrier(bool needs, ShouldUpdateJit updateJit);