// Copyright 2021 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. #ifndef V8_BASE_VIRTUAL_ADDRESS_SPACE_PAGE_ALLOCATOR_H_ #define V8_BASE_VIRTUAL_ADDRESS_SPACE_PAGE_ALLOCATOR_H_ #include <unordered_map> #include "include/v8-platform.h" #include "src/base/base-export.h" #include "src/base/platform/platform.h" namespace v8 { namespace base { // This class bridges a VirtualAddressSpace, the future memory management API, // to a PageAllocator, the current API. class V8_BASE_EXPORT VirtualAddressSpacePageAllocator : public v8::PageAllocator { … }; } // namespace base } // namespace v8 #endif // V8_BASE_VIRTUAL_ADDRESS_SPACE_PAGE_ALLOCATOR_H_