#ifndef V8_SANDBOX_EXTERNAL_BUFFER_TABLE_INL_H_
#define V8_SANDBOX_EXTERNAL_BUFFER_TABLE_INL_H_
#include "src/sandbox/compactible-external-entity-table-inl.h"
#include "src/sandbox/external-buffer-table.h"
#ifdef V8_ENABLE_SANDBOX
namespace v8 {
namespace internal {
void ExternalBufferTableEntry::MakeExternalBufferEntry(
std::pair<Address, size_t> buffer, ExternalBufferTag tag) { … }
std::pair<Address, size_t> ExternalBufferTableEntry::GetExternalBuffer(
ExternalBufferTag tag) const { … }
bool ExternalBufferTableEntry::HasExternalBuffer(ExternalBufferTag tag) const { … }
void ExternalBufferTableEntry::MakeFreelistEntry(uint32_t next_entry_index) { … }
uint32_t ExternalBufferTableEntry::GetNextFreelistEntryIndex() const { … }
void ExternalBufferTableEntry::Mark() { … }
void ExternalBufferTableEntry::MakeEvacuationEntry(Address handle_location) { … }
bool ExternalBufferTableEntry::HasEvacuationEntry() const { … }
void ExternalBufferTableEntry::MigrateInto(ExternalBufferTableEntry& other) { … }
std::pair<Address, size_t> ExternalBufferTable::Get(
ExternalBufferHandle handle, ExternalBufferTag tag) const { … }
ExternalBufferHandle ExternalBufferTable::AllocateAndInitializeEntry(
Space* space, std::pair<Address, size_t> initial_buffer,
ExternalBufferTag tag) { … }
void ExternalBufferTable::Mark(Space* space, ExternalBufferHandle handle,
Address handle_location) { … }
bool ExternalBufferTable::IsValidHandle(ExternalBufferHandle handle) { … }
uint32_t ExternalBufferTable::HandleToIndex(ExternalBufferHandle handle) { … }
ExternalBufferHandle ExternalBufferTable::IndexToHandle(uint32_t index) { … }
void ExternalBufferTable::Space::NotifyExternalPointerFieldInvalidated(
Address field_address) { … }
}
}
#endif
#endif