#include "src/sandbox/js-dispatch-table.h"
#include "src/common/code-memory-access-inl.h"
#include "src/execution/isolate.h"
#include "src/logging/counters.h"
#include "src/objects/code-inl.h"
#include "src/sandbox/js-dispatch-table-inl.h"
#ifdef V8_ENABLE_SANDBOX
namespace v8 {
namespace internal {
void JSDispatchEntry::CheckFieldOffsets() { … }
JSDispatchHandle JSDispatchTable::PreAllocateEntries(
Space* space, int count, bool ensure_static_handles) { … }
bool JSDispatchTable::PreAllocatedEntryNeedsInitialization(
Space* space, JSDispatchHandle handle) { … }
void JSDispatchTable::InitializePreAllocatedEntry(Space* space,
JSDispatchHandle handle,
Tagged<Code> code,
uint16_t parameter_count) { … }
uint32_t JSDispatchTable::Sweep(Space* space, Counters* counters) { … }
#ifdef DEBUG
std::atomic<bool> JSDispatchTable::initialized_ = …;
#endif
base::LeakyObject<JSDispatchTable> JSDispatchTable::instance_;
}
}
#endif