Fix the cross compiler build by not including c headers into mini-llvm-cpp.h.
[mono.git] / mono / mini / mini-llvm-cpp.h
index c6d75281e802526c935053e773808a41a2201bbd..97d5a12222a54183f914d1138a50eefe72d2ef2e 100644 (file)
@@ -15,9 +15,6 @@
 #include "llvm-c/Core.h"
 #include "llvm-c/ExecutionEngine.h"
 
-#include "../metadata/object.h"
-#include "../metadata/domain-internals.h"
-
 #include <unwind.h>
 
 G_BEGIN_DECLS
@@ -98,33 +95,6 @@ mono_llvm_create_constant_data_array (const uint8_t *data, int len);
 void
 mono_llvm_set_is_constant (LLVMValueRef global_var);
 
-void
-mono_llvm_cpp_throw_exception (void);
-
-void
-mono_llvm_rethrow_exception (MonoObject *ex);
-
-void
-mono_llvm_throw_exception (MonoObject *ex);
-
-void
-mono_llvm_throw_corlib_exception (guint32 ex_token_index);
-
-void
-mono_llvm_resume_exception (void);
-
-gint32
-mono_llvm_match_exception (MonoJitInfo *jinfo, guint32 region_start, guint32 region_end);
-
-void 
-mono_llvm_clear_exception (void);
-
-MonoObject *
-mono_llvm_load_exception (void);
-
-void
-mono_llvm_reset_exception (void);
-
 _Unwind_Reason_Code 
 mono_debug_personality (int a, _Unwind_Action b,
        uint64_t c, struct _Unwind_Exception *d, struct _Unwind_Context *e);
@@ -136,7 +106,7 @@ void
 default_mono_llvm_unhandled_exception (void);
 
 void
-mono_llvm_raise_exception (MonoException *e);
+mono_llvm_cpp_throw_exception (void);
 
 G_END_DECLS