From 6f342b2269e769a27dd0476cc4dc8a9c93c20235 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Mon, 26 Jun 2017 23:08:26 +0200 Subject: Remove hasZealMode(mode) and callers --- js/src/gc/Zone.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'js/src/gc/Zone.h') 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); -- cgit v1.2.3 From e27da6cc5e825b58f810b368b2bd59bca2164ab0 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Tue, 27 Jun 2017 00:21:45 +0200 Subject: Remove unused compileBarriers() --- js/src/gc/Zone.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'js/src/gc/Zone.h') diff --git a/js/src/gc/Zone.h b/js/src/gc/Zone.h index 84d6f03dd..50d06319d 100644 --- a/js/src/gc/Zone.h +++ b/js/src/gc/Zone.h @@ -253,8 +253,6 @@ struct Zone : public JS::shadow::Zone, // possibly at other times too. uint64_t gcNumber(); - bool compileBarriers() const { return needsIncrementalBarrier(); } - enum ShouldUpdateJit { DontUpdateJit, UpdateJit }; void setNeedsIncrementalBarrier(bool needs, ShouldUpdateJit updateJit); const bool* addressOfNeedsIncrementalBarrier() const { return &needsIncrementalBarrier_; } -- cgit v1.2.3