* src/vm/jit/s390/arch.h (JIT_COMPILER_VIA_SIGNAL): defined.
[cacao.git] / src / vm / jit / s390 / emit.c
index c7d5c0bf5281f85e2db75408c833fb47c941b8ef..51f74648f3e499ac082de57481d129329cefe2fe 100644 (file)
@@ -800,6 +800,17 @@ void emit_restore_pv(codegendata *cd) {
        }
 }
 
+/* emit_trap_compiler **********************************************************
+
+   Emit a trap instruction which calls the JIT compiler.
+
+*******************************************************************************/
+
+void emit_trap_compiler(codegendata *cd)
+{
+       M_ILL2(REG_METHODPTR, EXCEPTION_HARDWARE_COMPILER);
+}
+
 /*
  * These are local overrides for various environment variables in Emacs.
  * Please do not remove this and leave it at the end of the file, where