* src/vm/jit/codegen-common.hpp (exceptionref): Removed.
[cacao.git] / src / vm / jit / reg.h
index b4196b1f4477200aa59f08b2af57e931875f0a3a..3efd2b1ef115ea4f5824ec39ca6bbb95eefd0be6 100644 (file)
@@ -37,7 +37,7 @@ typedef struct registerdata registerdata;
 
 #include "arch.h"
 
-#include "vm/jit/jit.h"
+#include "vm/jit/jit.hpp"
 #include "vm/jit/verify/typeinfo.h"
 
 
@@ -133,8 +133,16 @@ struct registerdata {
 
 /* function prototypes ********************************************************/
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 void reg_setup(jitdata *jd);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _REG_H */