Package org.teavm.backend.wasm
Class WasmRuntime
java.lang.Object
org.teavm.backend.wasm.WasmRuntime
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
align
(int value, int alignment) static org.teavm.interop.Address
align
(org.teavm.interop.Address address, int alignment) static org.teavm.interop.Address
allocStack
(int size) static int
compare
(double a, double b) static int
compare
(float a, float b) static int
compare
(int a, int b) static int
compare
(long a, long b) static void
fill
(org.teavm.interop.Address address, byte value, int count) static void
fillZero
(org.teavm.interop.Address address, int count) static int
getCallSiteId
(org.teavm.interop.Address stackFrame) static org.teavm.interop.Address
getNextStackFrame
(org.teavm.interop.Address stackFrame) static int
getStackRootCount
(org.teavm.interop.Address stackFrame) static org.teavm.interop.Address
getStackRootPointer
(org.teavm.interop.Address stackFrame) static org.teavm.interop.Address
static org.teavm.interop.Address
lookupResource
(org.teavm.interop.Address map, String string) static void
moveMemoryBlock
(org.teavm.interop.Address source, org.teavm.interop.Address target, int count) static void
print
(int a) static void
printInt
(int i) static void
static void
static double
remainder
(double a, double b) static float
remainder
(float a, float b) static String[]
resourceMapKeys
(org.teavm.interop.Address map) static void
setExceptionHandlerId
(org.teavm.interop.Address stackFrame, int id)
-
Method Details
-
compare
public static int compare(int a, int b) -
compare
public static int compare(long a, long b) -
compare
public static int compare(float a, float b) -
compare
public static int compare(double a, double b) -
remainder
public static float remainder(float a, float b) -
remainder
public static double remainder(double a, double b) -
align
public static org.teavm.interop.Address align(org.teavm.interop.Address address, int alignment) -
align
public static int align(int value, int alignment) -
print
public static void print(int a) -
printString
-
printInt
public static void printInt(int i) -
printOutOfMemory
public static void printOutOfMemory() -
fillZero
public static void fillZero(org.teavm.interop.Address address, int count) -
fill
public static void fill(org.teavm.interop.Address address, byte value, int count) -
moveMemoryBlock
public static void moveMemoryBlock(org.teavm.interop.Address source, org.teavm.interop.Address target, int count) -
allocStack
public static org.teavm.interop.Address allocStack(int size) -
getStackTop
public static org.teavm.interop.Address getStackTop() -
getNextStackFrame
public static org.teavm.interop.Address getNextStackFrame(org.teavm.interop.Address stackFrame) -
getStackRootCount
public static int getStackRootCount(org.teavm.interop.Address stackFrame) -
getStackRootPointer
public static org.teavm.interop.Address getStackRootPointer(org.teavm.interop.Address stackFrame) -
getCallSiteId
public static int getCallSiteId(org.teavm.interop.Address stackFrame) -
setExceptionHandlerId
public static void setExceptionHandlerId(org.teavm.interop.Address stackFrame, int id) -
resourceMapKeys
-
lookupResource
public static org.teavm.interop.Address lookupResource(org.teavm.interop.Address map, String string)
-