diff options
Diffstat (limited to 'deps/v8/src/heap/marking-worklist.cc')
-rw-r--r-- | deps/v8/src/heap/marking-worklist.cc | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/deps/v8/src/heap/marking-worklist.cc b/deps/v8/src/heap/marking-worklist.cc index d05540e2f8..a035155b4a 100644 --- a/deps/v8/src/heap/marking-worklist.cc +++ b/deps/v8/src/heap/marking-worklist.cc @@ -24,7 +24,6 @@ namespace internal { void MarkingWorklists::Clear() { shared_.Clear(); on_hold_.Clear(); - wrapper_.Clear(); other_.Clear(); for (auto& cw : context_worklists_) { cw.worklist->Clear(); @@ -107,7 +106,6 @@ MarkingWorklists::Local::Local( : active_(&shared_), shared_(*global->shared()), on_hold_(*global->on_hold()), - wrapper_(*global->wrapper()), active_context_(kSharedContext), is_per_context_mode_(!global->context_worklists().empty()), worklist_by_context_( @@ -118,7 +116,6 @@ MarkingWorklists::Local::Local( void MarkingWorklists::Local::Publish() { shared_.Publish(); on_hold_.Publish(); - wrapper_.Publish(); other_.Publish(); if (is_per_context_mode_) { for (auto& cw : worklist_by_context_) { @@ -153,11 +150,7 @@ bool MarkingWorklists::Local::IsEmpty() { } bool MarkingWorklists::Local::IsWrapperEmpty() const { - if (cpp_marking_state_) { - DCHECK(wrapper_.IsLocalAndGlobalEmpty()); - return cpp_marking_state_->IsLocalEmpty(); - } - return wrapper_.IsLocalAndGlobalEmpty(); + return !cpp_marking_state_ || cpp_marking_state_->IsLocalEmpty(); } void MarkingWorklists::Local::ShareWork() { |