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

#include <wasm-objects.h>

Inheritance diagram for v8::internal::WasmStruct:
Collaboration diagram for v8::internal::WasmStruct:

Public Member Functions

Address RawFieldAddress (int raw_offset)
 
ObjectSlot RawField (int raw_offset)
 
Tagged< Mapget_described_rtt () const
 
void set_described_rtt (Tagged< Map > rtt)
 
V8_EXPORT_PRIVATE wasm::WasmValue GetFieldValue (uint32_t field_index)
 

Static Public Member Functions

static const wasm::CanonicalStructTypeGcSafeType (Tagged< Map > map)
 
static int Size (const wasm::StructType *type)
 
static int Size (const wasm::CanonicalStructType *type)
 
static int GcSafeSize (Tagged< Map > map)
 
static void EncodeInstanceSizeInMap (int instance_size, Tagged< Map > map)
 
static int DecodeInstanceSizeFromMap (Tagged< Map > map)
 
static DirectHandle< WasmStructAllocateDescriptorUninitialized (Isolate *isolate, DirectHandle< WasmTrustedInstanceData > trusted_data, wasm::ModuleTypeIndex index, DirectHandle< Map > map)
 

Detailed Description

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

Member Function Documentation

◆ AllocateDescriptorUninitialized()

DirectHandle< WasmStruct > v8::internal::WasmStruct::AllocateDescriptorUninitialized ( Isolate * isolate,
DirectHandle< WasmTrustedInstanceData > trusted_data,
wasm::ModuleTypeIndex index,
DirectHandle< Map > map )
static

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DecodeInstanceSizeFromMap()

int v8::internal::WasmStruct::DecodeInstanceSizeFromMap ( Tagged< Map > map)
inlinestatic

Definition at line 738 of file wasm-objects-inl.h.

Here is the caller graph for this function:

◆ EncodeInstanceSizeInMap()

void v8::internal::WasmStruct::EncodeInstanceSizeInMap ( int instance_size,
Tagged< Map > map )
inlinestatic

Definition at line 724 of file wasm-objects-inl.h.

Here is the caller graph for this function:

◆ GcSafeSize()

int v8::internal::WasmStruct::GcSafeSize ( Tagged< Map > map)
inlinestatic

Definition at line 743 of file wasm-objects-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GcSafeType()

const wasm::CanonicalStructType * v8::internal::WasmStruct::GcSafeType ( Tagged< Map > map)
static

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

Here is the call graph for this function:

◆ get_described_rtt()

Tagged< Map > v8::internal::WasmStruct::get_described_rtt ( ) const
inline

Definition at line 756 of file wasm-objects-inl.h.

Here is the call graph for this function:

◆ GetFieldValue()

wasm::WasmValue v8::internal::WasmStruct::GetFieldValue ( uint32_t field_index)

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

Here is the call graph for this function:

◆ RawField()

ObjectSlot v8::internal::WasmStruct::RawField ( int raw_offset)
inline

Definition at line 752 of file wasm-objects-inl.h.

Here is the call graph for this function:

◆ RawFieldAddress()

Address v8::internal::WasmStruct::RawFieldAddress ( int raw_offset)
inline

Definition at line 747 of file wasm-objects-inl.h.

Here is the caller graph for this function:

◆ set_described_rtt()

void v8::internal::WasmStruct::set_described_rtt ( Tagged< Map > rtt)
inline

Definition at line 760 of file wasm-objects-inl.h.

Here is the call graph for this function:

◆ Size() [1/2]

int v8::internal::WasmStruct::Size ( const wasm::CanonicalStructType * type)
inlinestatic

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

◆ Size() [2/2]

int v8::internal::WasmStruct::Size ( const wasm::StructType * type)
inlinestatic

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

Here is the caller graph for this function:

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