5#ifndef RUNTIME_VM_DISPATCH_TABLE_H_
6#define RUNTIME_VM_DISPATCH_TABLE_H_
19 intptr_t
length()
const {
return length_; }
23#if defined(TARGET_ARCH_X64)
26#elif defined(TARGET_ARCH_ARM)
29#elif defined(TARGET_ARCH_ARM64)
32#elif defined(TARGET_ARCH_RISCV32)
35#elif defined(TARGET_ARCH_RISCV64)
42#if defined(TARGET_ARCH_X64)
45#elif defined(TARGET_ARCH_ARM)
48#elif defined(TARGET_ARCH_ARM64)
51#elif defined(TARGET_ARCH_RISCV32)
54#elif defined(TARGET_ARCH_RISCV64)
66 uword* array() {
return array_.get(); }
69 std::unique_ptr<uword[]> array_;
static constexpr intptr_t kOriginElement
const uword * ArrayOrigin() const
DispatchTable(intptr_t length)
static constexpr intptr_t kLargestSmallOffset