* src/vm/jit/executionstate.c (executionstate_pop_stackframe): Moved here from
[cacao.git] / src / vm / jit / executionstate.h
index 59e14ea4be23ef7e8ce7c6c47e12e0feff8842f5..08dcc5dd8250b87885112e2b9a918e7b472e3e21 100644 (file)
@@ -41,6 +41,13 @@ typedef struct executionstate_t executionstate_t;
 #include "vm/jit/code.hpp"
 
 
+/* configuration of native stack slot size ************************************/
+
+#define SIZE_OF_STACKSLOT      8
+#define STACK_SLOTS_PER_FLOAT  1
+typedef uint64_t stackslot_t;
+
+
 /* executionstate_t ************************************************************
 
    An execution-state represents the state of a thread containing all
@@ -72,6 +79,8 @@ struct executionstate_t {
 extern "C" {
 #endif
 
+void executionstate_pop_stackframe(executionstate_t *es);
+
 #if !defined(NDEBUG)
 void executionstate_sanity_check(void *context);
 void executionstate_println(executionstate_t *es);