GenMethodContext

class GenMethodContext(val name: String, val methodVisitor: MethodVisitor, val func: WasmFunc, val module: WasmModule)

Constructors

Link copied to clipboard
constructor(name: String, methodVisitor: MethodVisitor, func: WasmFunc, module: WasmModule)

Types

Link copied to clipboard
data class LocalInfo(val index: Int, val type: WasmSType?, val kind: WasmRunJVMOutput.GenMethodContext.LocalKind)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val methodVisitor: MethodVisitor
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
fun aload(index: Int, managed: Boolean = true)
Link copied to clipboard
fun astore(index: Int, managed: Boolean = true)
Link copied to clipboard
fun dload(index: Int, managed: Boolean = true)
Link copied to clipboard
fun drop(type: WasmSType)
Link copied to clipboard
fun dstore(index: Int, managed: Boolean = true)
Link copied to clipboard
fun fload(index: Int, managed: Boolean = true)
Link copied to clipboard
fun fstore(index: Int, managed: Boolean = true)
Link copied to clipboard
fun getLocalIndex(index: Int, managed: Boolean = true): Int
Link copied to clipboard
fun global(index: Int): WasmGlobal
Link copied to clipboard
fun globalType(index: Int): WasmSType
Link copied to clipboard
fun iload(index: Int, managed: Boolean = true)
Link copied to clipboard
fun istore(index: Int, managed: Boolean = true)
Link copied to clipboard
fun lload(index: Int, managed: Boolean = true)
Link copied to clipboard
fun load(index: Int, type: WasmSType?, managed: Boolean = true)
Link copied to clipboard
fun loadTemp(result: WasmType, updateStack: Boolean = true)
Link copied to clipboard
fun local(index: Int): WastLocal
Link copied to clipboard
fun localType(index: Int): WasmSType
Link copied to clipboard
fun lstore(index: Int, managed: Boolean = true)
Link copied to clipboard
fun prepareToJump(controlStructure: WasmRunJVMOutput.ControlStructure, updateStack: Boolean)
Link copied to clipboard
Link copied to clipboard
fun restoreStack(types: List<WasmSType>, extra: WasmSType? = null)
Link copied to clipboard
fun ret(type: WasmSType?)
Link copied to clipboard
Link copied to clipboard
fun stack(remove: Int, vararg add: WasmSType)
Link copied to clipboard
fun store(index: Int, type: WasmSType?, managed: Boolean = true)
Link copied to clipboard
fun storeTemp(result: WasmType, updateStack: Boolean = true)