diff options
Diffstat (limited to 'deps/v8/src/heap/base/worklist.cc')
-rw-r--r-- | deps/v8/src/heap/base/worklist.cc | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/deps/v8/src/heap/base/worklist.cc b/deps/v8/src/heap/base/worklist.cc index effca7fbc7..ab42a8af5b 100644 --- a/deps/v8/src/heap/base/worklist.cc +++ b/deps/v8/src/heap/base/worklist.cc @@ -4,7 +4,15 @@ #include "src/heap/base/worklist.h" -namespace heap::base::internal { +namespace heap::base { + +// static +bool WorklistBase::predictable_order_ = false; + +// static +void WorklistBase::EnforcePredictableOrder() { predictable_order_ = true; } + +namespace internal { // static SegmentBase* SegmentBase::GetSentinelSegmentAddress() { @@ -12,4 +20,5 @@ SegmentBase* SegmentBase::GetSentinelSegmentAddress() { return &sentinel_segment; } -} // namespace heap::base::internal +} // namespace internal +} // namespace heap::base |