#include <wasm-init-expr.h>
|
| enum | Operator {
kGlobalGet
, kI32Const
, kI64Const
, kF32Const
,
kF64Const
, kS128Const
, kI32Add
, kI32Sub
,
kI32Mul
, kI64Add
, kI64Sub
, kI64Mul
,
kRefNullConst
, kRefFuncConst
, kStructNew
, kStructNewDefault
,
kArrayNew
, kArrayNewDefault
, kArrayNewFixed
, kRefI31
,
kStringConst
, kAnyConvertExtern
, kExternConvertAny
} |
| |
|
| static WasmInitExpr | Binop (Zone *zone, Operator op, WasmInitExpr lhs, WasmInitExpr rhs) |
| |
| static WasmInitExpr | GlobalGet (uint32_t index) |
| |
| static WasmInitExpr | RefFuncConst (uint32_t index) |
| |
| static WasmInitExpr | RefNullConst (HeapType heap_type) |
| |
| static WasmInitExpr | StructNew (ModuleTypeIndex index, ZoneVector< WasmInitExpr > *elements) |
| |
| static WasmInitExpr | StructNewDefault (ModuleTypeIndex index) |
| |
| static WasmInitExpr | ArrayNew (Zone *zone, ModuleTypeIndex index, WasmInitExpr initial, WasmInitExpr length) |
| |
| static WasmInitExpr | ArrayNewDefault (Zone *zone, ModuleTypeIndex index, WasmInitExpr length) |
| |
| static WasmInitExpr | ArrayNewFixed (ModuleTypeIndex index, ZoneVector< WasmInitExpr > *elements) |
| |
| static WasmInitExpr | RefI31 (Zone *zone, WasmInitExpr value) |
| |
| static WasmInitExpr | StringConst (uint32_t index) |
| |
| static WasmInitExpr | AnyConvertExtern (Zone *zone, WasmInitExpr arg) |
| |
| static WasmInitExpr | ExternConvertAny (Zone *zone, WasmInitExpr arg) |
| |
| static WasmInitExpr | DefaultValue (ValueType type) |
| |
Definition at line 26 of file wasm-init-expr.h.
◆ Operator
| Enumerator |
|---|
| kGlobalGet | |
| kI32Const | |
| kI64Const | |
| kF32Const | |
| kF64Const | |
| kS128Const | |
| kI32Add | |
| kI32Sub | |
| kI32Mul | |
| kI64Add | |
| kI64Sub | |
| kI64Mul | |
| kRefNullConst | |
| kRefFuncConst | |
| kStructNew | |
| kStructNewDefault | |
| kArrayNew | |
| kArrayNewDefault | |
| kArrayNewFixed | |
| kRefI31 | |
| kStringConst | |
| kAnyConvertExtern | |
| kExternConvertAny | |
Definition at line 28 of file wasm-init-expr.h.
◆ WasmInitExpr() [1/8]
| v8::internal::wasm::WasmInitExpr::WasmInitExpr |
( |
int32_t | v | ) |
|
|
inlineexplicit |
◆ WasmInitExpr() [2/8]
| v8::internal::wasm::WasmInitExpr::WasmInitExpr |
( |
int64_t | v | ) |
|
|
inlineexplicit |
◆ WasmInitExpr() [3/8]
| v8::internal::wasm::WasmInitExpr::WasmInitExpr |
( |
float | v | ) |
|
|
inlineexplicit |
◆ WasmInitExpr() [4/8]
| v8::internal::wasm::WasmInitExpr::WasmInitExpr |
( |
double | v | ) |
|
|
inlineexplicit |
◆ WasmInitExpr() [5/8]
| v8::internal::wasm::WasmInitExpr::WasmInitExpr |
( |
uint8_t | v[kSimd128Size] | ) |
|
|
inlineexplicit |
◆ WasmInitExpr() [6/8]
◆ WasmInitExpr() [7/8]
| v8::internal::wasm::WasmInitExpr::WasmInitExpr |
( |
Operator | kind | ) |
|
|
inlineexplicitprivate |
◆ WasmInitExpr() [8/8]
| v8::internal::wasm::WasmInitExpr::WasmInitExpr |
( |
Zone * | zone, |
|
|
Operator | kind, |
|
|
std::initializer_list< WasmInitExpr > | operands ) |
|
inlineprivate |
◆ AnyConvertExtern()
◆ ArrayNew()
◆ ArrayNewDefault()
◆ ArrayNewFixed()
◆ Binop()
◆ DefaultValue()
◆ ExternConvertAny()
◆ GlobalGet()
| static WasmInitExpr v8::internal::wasm::WasmInitExpr::GlobalGet |
( |
uint32_t | index | ) |
|
|
inlinestatic |
◆ heap_type()
| HeapType v8::internal::wasm::WasmInitExpr::heap_type |
( |
| ) |
const |
|
inline |
◆ immediate()
| Immediate v8::internal::wasm::WasmInitExpr::immediate |
( |
| ) |
const |
|
inline |
◆ kind()
| Operator v8::internal::wasm::WasmInitExpr::kind |
( |
| ) |
const |
|
inline |
◆ operands()
◆ operator==()
| bool v8::internal::wasm::WasmInitExpr::operator== |
( |
const WasmInitExpr & | other | ) |
const |
|
inline |
◆ RefFuncConst()
| static WasmInitExpr v8::internal::wasm::WasmInitExpr::RefFuncConst |
( |
uint32_t | index | ) |
|
|
inlinestatic |
◆ RefI31()
◆ RefNullConst()
◆ StringConst()
| static WasmInitExpr v8::internal::wasm::WasmInitExpr::StringConst |
( |
uint32_t | index | ) |
|
|
inlinestatic |
◆ StructNew()
◆ StructNewDefault()
◆ immediate_
| Immediate v8::internal::wasm::WasmInitExpr::immediate_ |
|
private |
◆ kind_
| Operator v8::internal::wasm::WasmInitExpr::kind_ |
|
private |
◆ operands_
The documentation for this class was generated from the following file: