Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
- $Id: emitfuncs.c 4398 2006-01-31 23:43:08Z twisti $
-
*/
#define BRANCH_LABEL_3 3
#define BRANCH_LABEL_4 4
#define BRANCH_LABEL_5 5
+#define BRANCH_LABEL_6 6
/* constant range macros ******************************************************/
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);
void emit_bugt(codegendata *cd, basicblock *target);
#endif
-#if defined(__POWERPC__)
+#if defined(__POWERPC__) || defined(__POWERPC64__)
void emit_bnan(codegendata *cd, basicblock *target);
#endif
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);