* src/vm/jit/asmpart.h [!JIT_COMPILER_VIA_SIGNAL]
[cacao.git] / src / vm / jit / jit.h
index c1ea4bf3bb7c49e314795ed619444c72f7e18ee9..e0a49df7a9b91b7ad1dc712d3aa31f1531550cbc 100644 (file)
@@ -50,6 +50,7 @@ typedef struct exception_entry exception_entry;
 #include "vm/jit/codegen-common.h"
 #include "vm/jit/reg.h"
 #include "vm/jit/replace.h"
+#include "vm/jit/stacktrace.h"
 
 #if defined(ENABLE_INLINING)
 # include "vm/jit/inline/inline.h"
@@ -1309,7 +1310,10 @@ codeinfo *jit_get_current_code(methodinfo *m);
 void jit_request_optimization(methodinfo *m);
 
 /* patch the method entrypoint */
+#if !defined(JIT_COMPILER_VIA_SIGNAL)
 u1 *jit_asm_compile(methodinfo *m, u1 *mptr, u1 *sp, u1 *ra);
+#endif
+void *jit_compile_handle(void *pc, void *pv, void *ra, void *mptr);
 
 s4 jit_complement_condition(s4 opcode);