* src/vm/jit/builtin.hpp (builtintable_entry): Added function pointer to
[cacao.git] / src / vm / jit / emit-common.hpp
index 24f6b15109fcdb3bd09ea842c0b01662a64789c7..88d3f1df4ca2a8202b63048105beef447848fa03 100644 (file)
@@ -213,6 +213,10 @@ void emit_patcher_traps(jitdata *jd);
 
 void emit_recompute_pv(codegendata* cd);
 
+/* machine dependent faspath-emitting functions */
+void emit_fastpath_monitor_enter(jitdata* jd, instruction* iptr, int d);
+void emit_fastpath_monitor_exit(jitdata* jd, instruction* iptr, int d);
+
 #if defined(ENABLE_THREADS)
 void emit_monitor_enter(jitdata* jd, int32_t syncslot_offset);
 void emit_monitor_exit(jitdata* jd, int32_t syncslot_offset);
@@ -221,8 +225,8 @@ void emit_monitor_exit(jitdata* jd, int32_t syncslot_offset);
 #if defined(ENABLE_PROFILING)
 void emit_profile_method(codegendata* cd, codeinfo* code);
 void emit_profile_basicblock(codegendata* cd, codeinfo* code, basicblock* bptr);
-void emit_profile_cycle_start();
-void emit_profile_cycle_stop();
+void emit_profile_cycle_start(codegendata* cd, codeinfo* code);
+void emit_profile_cycle_stop(codegendata* cd, codeinfo* code);
 #endif
 
 void emit_verbosecall_enter(jitdata *jd);