Class ConstExpressions
- java.lang.Object
-
- de.mirkosertic.bytecoder.core.backend.wasm.ast.ConstExpressions
-
public class ConstExpressions extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConstExpressions.array
static class
ConstExpressions.f32
static class
ConstExpressions.f64
static class
ConstExpressions.i32
static class
ConstExpressions.i64
static class
ConstExpressions.ref
static class
ConstExpressions.struct
-
Constructor Summary
Constructors Constructor Description ConstExpressions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Call
call(Callable function, java.util.List<WasmValue> arguments)
static CallIndirect
call(FunctionType type, java.util.List<WasmValue> arguments, WasmValue functionIndex)
static GetGlobal
getGlobal(Global global)
static GetLocal
getLocal(Local local)
static Param
param(java.lang.String label, WasmType type)
static Pop
pop(WasmType type)
static Select
select(WasmValue leftValue, WasmValue rightValue, WasmValue condition)
static Tag
tag(java.lang.String label, FunctionType type)
static TeeLocal
teeLocal(Local local)
static TeeLocal
teeLocal(Local local, WasmValue value)
static WeakFunctionReferenceCallable
weakFunctionReference(java.lang.String aFunctionName)
static WeakFunctionTableReference
weakFunctionTableReference(java.lang.String aFunctionName)
-
-
-
Method Detail
-
tag
public static Tag tag(java.lang.String label, FunctionType type)
-
call
public static CallIndirect call(FunctionType type, java.util.List<WasmValue> arguments, WasmValue functionIndex)
-
weakFunctionReference
public static WeakFunctionReferenceCallable weakFunctionReference(java.lang.String aFunctionName)
-
weakFunctionTableReference
public static WeakFunctionTableReference weakFunctionTableReference(java.lang.String aFunctionName)
-
-