Class WasmLoadInt32
- java.lang.Object
-
- org.teavm.backend.wasm.model.expression.WasmExpression
-
- org.teavm.backend.wasm.model.expression.WasmLoadInt32
-
- All Implemented Interfaces:
WasmMemoryAccess
public class WasmLoadInt32 extends WasmExpression implements WasmMemoryAccess
-
-
Constructor Summary
Constructors Constructor Description WasmLoadInt32(int alignment, WasmExpression index, WasmInt32Subtype convertFrom)WasmLoadInt32(int alignment, WasmExpression index, WasmInt32Subtype convertFrom, int offset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidacceptVisitor(WasmExpressionVisitor visitor)intgetAlignment()WasmInt32SubtypegetConvertFrom()WasmExpressiongetIndex()intgetOffset()voidsetAlignment(int alignment)voidsetConvertFrom(WasmInt32Subtype convertFrom)voidsetIndex(WasmExpression index)voidsetOffset(int offset)-
Methods inherited from class org.teavm.backend.wasm.model.expression.WasmExpression
getLocation, setLocation
-
-
-
-
Constructor Detail
-
WasmLoadInt32
public WasmLoadInt32(int alignment, WasmExpression index, WasmInt32Subtype convertFrom)
-
WasmLoadInt32
public WasmLoadInt32(int alignment, WasmExpression index, WasmInt32Subtype convertFrom, int offset)
-
-
Method Detail
-
getAlignment
public int getAlignment()
-
setAlignment
public void setAlignment(int alignment)
-
getOffset
public int getOffset()
- Specified by:
getOffsetin interfaceWasmMemoryAccess
-
setOffset
public void setOffset(int offset)
- Specified by:
setOffsetin interfaceWasmMemoryAccess
-
getIndex
public WasmExpression getIndex()
- Specified by:
getIndexin interfaceWasmMemoryAccess
-
setIndex
public void setIndex(WasmExpression index)
- Specified by:
setIndexin interfaceWasmMemoryAccess
-
getConvertFrom
public WasmInt32Subtype getConvertFrom()
-
setConvertFrom
public void setConvertFrom(WasmInt32Subtype convertFrom)
-
acceptVisitor
public void acceptVisitor(WasmExpressionVisitor visitor)
- Specified by:
acceptVisitorin classWasmExpression
-
-