Package org.teavm.backend.wasm
Class WasmRuntime
java.lang.Object
org.teavm.backend.wasm.WasmRuntime
-
Method Summary
Modifier and TypeMethodDescriptionstatic intalign(int value, int alignment) static Addressstatic AddressallocStack(int size) static intcompare(double a, double b) static intcompare(float a, float b) static intcompare(int a, int b) static intcompare(long a, long b) static voidstatic voidstatic intgetCallSiteId(Address stackFrame) static AddressgetNextStackFrame(Address stackFrame) static intgetStackRootCount(Address stackFrame) static AddressgetStackRootPointer(Address stackFrame) static Addressstatic AddresslookupResource(Address map, String string) static voidmoveMemoryBlock(Address source, Address target, int count) static voidprint(int a) static voidprintInt(int i) static voidstatic voidstatic doubleremainder(double a, double b) static floatremainder(float a, float b) static String[]resourceMapKeys(Address map) static voidsetExceptionHandlerId(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
-
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
-
fill
-
moveMemoryBlock
-
allocStack
-
getStackTop
-
getNextStackFrame
-
getStackRootCount
-
getStackRootPointer
-
getCallSiteId
-
setExceptionHandlerId
-
resourceMapKeys
-
lookupResource
-