1 // Copyright 2020 the V8 project authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "src/heap/base/worklist.h" 6 7 namespace heap { 8 namespace base { 9 namespace internal { 10 11 // static GetSentinelSegmentAddress()12SegmentBase* SegmentBase::GetSentinelSegmentAddress() { 13 static SegmentBase kSentinelSegment(0); 14 return &kSentinelSegment; 15 } 16 17 } // namespace internal 18 } // namespace base 19 } // namespace heap 20