* src/vm/jit/codegen-common.hpp (exceptionref): Removed.
[cacao.git] / src / vm / jit / asmpart.h
index f9e3c1af0450295a538d7ca051fef04c569d137f..9ea6f4da5c97ce6efaca10364e1e50a84fb40d84 100644 (file)
 
 #include <stdint.h>
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 #include "vm/types.h"
 
 #include "vm/global.h"
 #include "vm/vm.hpp"
 
-#include "vmcore/linker.h"
-
 
 /* function prototypes ********************************************************/
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /* machine dependent initialization */
 s4   asm_md_init(void);
 
@@ -102,7 +100,7 @@ void intrp_asm_abstractmethoderror(void);
 void asm_patcher_wrapper(void);
 
 /* cache flush function */
-void asm_cacheflush(u1 *addr, s4 nbytes);
+void asm_cacheflush(void* addr, int nbytes);
 
 u8 asm_get_cycle_count(void);
 
@@ -113,7 +111,7 @@ void asm_escape_check(java_object_t *obj);
 #endif
 
 #ifdef __cplusplus
-}
+} // extern "C"
 #endif
 
 #endif /* _ASMPART_H */