Package org.teavm.runtime
Class ShadowStack
- java.lang.Object
-
- org.teavm.runtime.ShadowStack
-
public final class ShadowStack extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidallocStack(int size)static intgetCallSiteId(Address stackFrame)static intgetExceptionHandlerId()static AddressgetNextStackFrame(Address stackFrame)static intgetStackRootCount(Address stackFrame)static AddressgetStackRootPointer(Address stackFrame)static AddressgetStackTop()static voidregisterCallSite(int id)static voidregisterGCRoot(int index, Object object)static voidreleaseStack(int size)static voidremoveGCRoot(int index)static voidsetExceptionHandlerId(Address stackFrame, int id)
-
-
-
Method Detail
-
allocStack
public static void allocStack(int size)
-
registerGCRoot
public static void registerGCRoot(int index, Object object)
-
removeGCRoot
public static void removeGCRoot(int index)
-
releaseStack
public static void releaseStack(int size)
-
getStackTop
public static Address getStackTop()
-
getStackRootCount
public static int getStackRootCount(Address stackFrame)
-
getCallSiteId
public static int getCallSiteId(Address stackFrame)
-
registerCallSite
public static void registerCallSite(int id)
-
getExceptionHandlerId
public static int getExceptionHandlerId()
-
setExceptionHandlerId
public static void setExceptionHandlerId(Address stackFrame, int id)
-
-