v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::WasmImportData Class Reference

#include <wasm-objects.h>

Inheritance diagram for v8::internal::WasmImportData:
Collaboration diagram for v8::internal::WasmImportData:

Public Types

using BodyDescriptor
 
using SuspendField = base::BitField<wasm::Suspend, 0, 1>
 
using TableSlotField = SuspendField::Next<uint32_t, kTableSlotBits>
 

Public Member Functions

void SetIndexInTableAsCallOrigin (Tagged< WasmDispatchTable > table, int entry_index)
 
void SetFuncRefAsCallOrigin (Tagged< WasmInternalFunction > func)
 

Static Public Attributes

static constexpr int kInvalidCallOrigin = 0
 
static constexpr int kTableSlotBits = 24
 

Detailed Description

Definition at line 1138 of file wasm-objects.h.

Member Typedef Documentation

◆ BodyDescriptor

Initial value:
StackedBodyDescriptor<FixedBodyDescriptorFor<WasmImportData>,
WithProtectedPointer<kProtectedInstanceDataOffset>,
WithProtectedPointer<kProtectedCallOriginOffset>>

Definition at line 1157 of file wasm-objects.h.

◆ SuspendField

◆ TableSlotField

Member Function Documentation

◆ SetFuncRefAsCallOrigin()

void v8::internal::WasmImportData::SetFuncRefAsCallOrigin ( Tagged< WasmInternalFunction > func)

Definition at line 2159 of file wasm-objects.cc.

◆ SetIndexInTableAsCallOrigin()

void v8::internal::WasmImportData::SetIndexInTableAsCallOrigin ( Tagged< WasmDispatchTable > table,
int entry_index )

Definition at line 2153 of file wasm-objects.cc.

Member Data Documentation

◆ kInvalidCallOrigin

int v8::internal::WasmImportData::kInvalidCallOrigin = 0
staticconstexpr

Definition at line 1150 of file wasm-objects.h.

◆ kTableSlotBits

int v8::internal::WasmImportData::kTableSlotBits = 24
staticconstexpr

Definition at line 1167 of file wasm-objects.h.


The documentation for this class was generated from the following files: