* src/vm/jit/powerpc/linux/md-abi.c (md_return_alloc): Use
[cacao.git] / src / vm / jit / powerpc / emit.c
index fedb16a988db5164f49ea9c07d8a394b440b4830..238c4d8112245de01a6bfd00e3580a3940bd8869 100644 (file)
@@ -516,6 +516,18 @@ void emit_exception_check(codegendata *cd, instruction *iptr)
 }
 
 
+/* emit_trap_compiler **********************************************************
+
+   Emit a trap instruction which calls the JIT compiler.
+
+*******************************************************************************/
+
+void emit_trap_compiler(codegendata *cd)
+{
+       M_ALD_INTERN(REG_METHODPTR, REG_ZERO, EXCEPTION_HARDWARE_COMPILER);
+}
+
+
 /* emit_trap *******************************************************************
 
    Emit a trap instruction and return the original machine code.