chromium/v8/src/base/virtual-address-space-page-allocator.cc

// Copyright 2018 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/base/virtual-address-space-page-allocator.h"

namespace v8 {
namespace base {

VirtualAddressSpacePageAllocator::VirtualAddressSpacePageAllocator(
    v8::VirtualAddressSpace* vas)
    :{}

void* VirtualAddressSpacePageAllocator::AllocatePages(
    void* hint, size_t size, size_t alignment,
    PageAllocator::Permission access) {}

bool VirtualAddressSpacePageAllocator::FreePages(void* ptr, size_t size) {}

bool VirtualAddressSpacePageAllocator::ReleasePages(void* ptr, size_t size,
                                                    size_t new_size) {}

bool VirtualAddressSpacePageAllocator::SetPermissions(
    void* address, size_t size, PageAllocator::Permission access) {}

bool VirtualAddressSpacePageAllocator::RecommitPages(
    void* address, size_t size, PageAllocator::Permission access) {}

bool VirtualAddressSpacePageAllocator::DiscardSystemPages(void* address,
                                                          size_t size) {}

bool VirtualAddressSpacePageAllocator::DecommitPages(void* address,
                                                     size_t size) {}

bool VirtualAddressSpacePageAllocator::SealPages(void* address, size_t size) {}

}  // namespace base
}  // namespace v8