* src/vm/jit/codegen-common.cpp (codegen_emit): New generic version of the
[cacao.git] / src / vm / jit / x86_64 / emit.h
index 4a1cb4c9884a8998b53b94a92ec8c6321a13abee..790f659a9aa1b6e8889519066c64f63e1470a208 100644 (file)
@@ -180,6 +180,10 @@ typedef union {
 
 /* function prototypes ********************************************************/
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 void emit_cmovxx(codegendata *cd, instruction *iptr, s4 s, s4 d);
 
 
@@ -363,6 +367,18 @@ void emit_xorpd_membase_reg(codegendata *cd, s8 basereg, s8 disp, s8 dreg);
 
 void emit_rdtsc(codegendata *cd);
 
+
+/**
+ * Emit code to recompute the procedure vector. This is a nop,
+ * because we do not use a procedure vector.
+ */
+static inline void emit_recompute_pv(codegendata* cd) {}
+
+
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _MD_EMIT_H */