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

#include <wasm-module.h>

Collaboration diagram for v8::internal::wasm::WasmElemSegment:

Public Types

enum  Status { kStatusActive , kStatusPassive , kStatusDeclarative }
 
enum  ElementType { kFunctionIndexElements , kExpressionElements }
 

Public Member Functions

 WasmElemSegment (bool shared, ValueType type, uint32_t table_index, ConstantExpression offset, ElementType element_type, uint32_t element_count, uint32_t elements_wire_bytes_offset)
 
 WasmElemSegment (Status status, bool shared, ValueType type, ElementType element_type, uint32_t element_count, uint32_t elements_wire_bytes_offset)
 
 WasmElemSegment ()
 
 WasmElemSegment (const WasmElemSegment &)=delete
 
 WasmElemSegment (WasmElemSegment &&) V8_NOEXCEPT=default
 
WasmElemSegmentoperator= (const WasmElemSegment &)=delete
 
WasmElemSegmentoperator= (WasmElemSegment &&) V8_NOEXCEPT=default
 

Public Attributes

Status status
 
bool shared
 
ValueType type
 
uint32_t table_index
 
ConstantExpression offset
 
ElementType element_type
 
uint32_t element_count
 
uint32_t elements_wire_bytes_offset
 

Detailed Description

Definition at line 221 of file wasm-module.h.

Member Enumeration Documentation

◆ ElementType

Enumerator
kFunctionIndexElements 
kExpressionElements 

Definition at line 227 of file wasm-module.h.

◆ Status

Enumerator
kStatusActive 
kStatusPassive 
kStatusDeclarative 

Definition at line 222 of file wasm-module.h.

Constructor & Destructor Documentation

◆ WasmElemSegment() [1/5]

v8::internal::wasm::WasmElemSegment::WasmElemSegment ( bool shared,
ValueType type,
uint32_t table_index,
ConstantExpression offset,
ElementType element_type,
uint32_t element_count,
uint32_t elements_wire_bytes_offset )
inline

Definition at line 230 of file wasm-module.h.

◆ WasmElemSegment() [2/5]

v8::internal::wasm::WasmElemSegment::WasmElemSegment ( Status status,
bool shared,
ValueType type,
ElementType element_type,
uint32_t element_count,
uint32_t elements_wire_bytes_offset )
inline

Definition at line 244 of file wasm-module.h.

◆ WasmElemSegment() [3/5]

v8::internal::wasm::WasmElemSegment::WasmElemSegment ( )
inline

Definition at line 258 of file wasm-module.h.

◆ WasmElemSegment() [4/5]

v8::internal::wasm::WasmElemSegment::WasmElemSegment ( const WasmElemSegment & )
delete

◆ WasmElemSegment() [5/5]

v8::internal::wasm::WasmElemSegment::WasmElemSegment ( WasmElemSegment && )
default

Member Function Documentation

◆ operator=() [1/2]

WasmElemSegment & v8::internal::wasm::WasmElemSegment::operator= ( const WasmElemSegment & )
delete

◆ operator=() [2/2]

WasmElemSegment & v8::internal::wasm::WasmElemSegment::operator= ( WasmElemSegment && )
default

Member Data Documentation

◆ element_count

uint32_t v8::internal::wasm::WasmElemSegment::element_count

Definition at line 278 of file wasm-module.h.

◆ element_type

ElementType v8::internal::wasm::WasmElemSegment::element_type

Definition at line 277 of file wasm-module.h.

◆ elements_wire_bytes_offset

uint32_t v8::internal::wasm::WasmElemSegment::elements_wire_bytes_offset

Definition at line 279 of file wasm-module.h.

◆ offset

ConstantExpression v8::internal::wasm::WasmElemSegment::offset

Definition at line 276 of file wasm-module.h.

◆ shared

bool v8::internal::wasm::WasmElemSegment::shared

Definition at line 273 of file wasm-module.h.

◆ status

Status v8::internal::wasm::WasmElemSegment::status

Definition at line 272 of file wasm-module.h.

◆ table_index

uint32_t v8::internal::wasm::WasmElemSegment::table_index

Definition at line 275 of file wasm-module.h.

◆ type

ValueType v8::internal::wasm::WasmElemSegment::type

Definition at line 274 of file wasm-module.h.


The documentation for this struct was generated from the following file: