Class WasmInstruction
java.lang.Object
org.teavm.backend.wasm.model.instruction.WasmInstruction
- Direct Known Subclasses:
WasmArrayCopy,WasmArrayGet,WasmArrayLength,WasmArrayNewDefault,WasmArrayNewFixed,WasmArraySet,WasmBlock,WasmBranch,WasmBreak,WasmCall,WasmCallReference,WasmCast,WasmCastBranch,WasmConditional,WasmConversion,WasmCopy,WasmDrop,WasmExternConversion,WasmFill,WasmFloat32Constant,WasmFloat64Constant,WasmFloatBinary,WasmFloatUnary,WasmFunctionReference,WasmGetGlobal,WasmGetLocal,WasmIndirectCall,WasmInt31Get,WasmInt31Reference,WasmInt32Constant,WasmInt64Constant,WasmIntBinary,WasmIntUnary,WasmIsNull,WasmLoadFloat32,WasmLoadFloat64,WasmLoadInt32,WasmLoadInt64,WasmMemoryGrow,WasmNullBranch,WasmNullConstant,WasmReferencesEqual,WasmReturn,WasmSetGlobal,WasmSetLocal,WasmStoreFloat32,WasmStoreFloat64,WasmStoreInt32,WasmStoreInt64,WasmStructGet,WasmStructNew,WasmStructNewDefault,WasmStructSet,WasmSwitch,WasmTeeLocal,WasmTest,WasmThrow,WasmTry,WasmUnreachable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidacceptVisitor(WasmInstructionVisitor visitor) booleandelete()getNext()getOwner()voidinsertNext(WasmInstruction other) voidinsertNext(WasmInstructionList other) voidinsertPrevious(WasmInstruction other) booleanbooleanvoidsetLocation(TextLocation location) static <T extends WasmInstruction>
TwithLocation(T insn, TextLocation location)
-
Constructor Details
-
WasmInstruction
public WasmInstruction()
-
-
Method Details
-
getOwner
-
getNext
-
getPrevious
-
getLocation
-
setLocation
-
acceptVisitor
-
delete
public boolean delete() -
insertNext
-
insertNext
-
insertPrevious
-
isSuspend
public boolean isSuspend() -
isTerminating
public boolean isTerminating() -
withLocation
-