* src/vm/jit/mips/codegen.c (codegen_emit_stub_native): Removed
[cacao.git] / src / vm / jit / emit-common.h
index 61681eefec65b498de4fd0c47660aa0c9d1f2ebf..11ba8f33038dbf1694fe302b9fafc0bc85fbda0b 100644 (file)
@@ -22,8 +22,6 @@
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
    02110-1301, USA.
 
-   $Id: emitfuncs.c 4398 2006-01-31 23:43:08Z twisti $
-
 */
 
 
@@ -46,6 +44,7 @@
 #define BRANCH_LABEL_3    3
 #define BRANCH_LABEL_4    4
 #define BRANCH_LABEL_5    5
+#define BRANCH_LABEL_6    6
 
 
 /* constant range macros ******************************************************/
@@ -96,7 +95,7 @@ void emit_store_low(jitdata *jd, instruction *iptr, varinfo *dst, s4 d);
 void emit_store_high(jitdata *jd, instruction *iptr, varinfo *dst, s4 d);
 #endif
 
-void emit_copy(jitdata *jd, instruction *iptr, varinfo *src, varinfo *dst);
+void emit_copy(jitdata *jd, instruction *iptr);
 
 void emit_iconst(codegendata *cd, s4 d, s4 value);
 void emit_lconst(codegendata *cd, s4 d, s8 value);
@@ -144,7 +143,7 @@ void emit_buge(codegendata *cd, basicblock *target);
 void emit_bugt(codegendata *cd, basicblock *target);
 #endif
 
-#if defined(__POWERPC__)
+#if defined(__POWERPC__) || defined(__POWERPC64__)
 void emit_bnan(codegendata *cd, basicblock *target);
 #endif
 
@@ -173,14 +172,16 @@ void emit_branch(codegendata *cd, s4 disp, s4 condition, s4 reg, u4 options);
 
 void emit_arithmetic_check(codegendata *cd, instruction *iptr, s4 reg);
 void emit_arrayindexoutofbounds_check(codegendata *cd, instruction *iptr, s4 s1, s4 s2);
+void emit_arraystore_check(codegendata *cd, instruction *iptr);
 void emit_classcast_check(codegendata *cd, instruction *iptr, s4 condition, s4 reg, s4 s1);
 void emit_nullpointer_check(codegendata *cd, instruction *iptr, s4 reg);
 void emit_exception_check(codegendata *cd, instruction *iptr);
 
+void emit_trap_compiler(codegendata *cd);
+uint32_t emit_trap(codegendata *cd);
+
 void emit_patcher_stubs(jitdata *jd);
-#if defined(ENABLE_REPLACEMENT)
-void emit_replacement_stubs(jitdata *jd);
-#endif
+void emit_patcher_traps(jitdata *jd);
 
 void emit_verbosecall_enter(jitdata *jd);
 void emit_verbosecall_exit(jitdata *jd);