// Copyright 2023 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "src/heap/trusted-range.h" #include "src/base/lazy-instance.h" #include "src/base/once.h" #include "src/heap/heap-inl.h" #include "src/utils/allocation.h" namespace v8 { namespace internal { #ifdef V8_ENABLE_SANDBOX bool TrustedRange::InitReservation(size_t requested) { … } namespace … // namespace // static TrustedRange* TrustedRange::EnsureProcessWideTrustedRange( size_t requested_size) { … } // static TrustedRange* TrustedRange::GetProcessWideTrustedRange() { … } #endif // V8_ENABLE_SANDBOX } // namespace internal } // namespace v8