Merge pull request #2603 from kumpera/fix_set_pending_exception
[mono.git] / mono / mini / mini-llvm-cpp.h
index c6d75281e802526c935053e773808a41a2201bbd..9e551e2557d8ace03612505abb36b9c4f2c2310f 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
@@ -99,31 +96,10 @@ 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);
+mono_llvm_set_preserveall_cc (LLVMValueRef func);
 
 void
-mono_llvm_reset_exception (void);
+mono_llvm_set_call_preserveall_cc (LLVMValueRef call);
 
 _Unwind_Reason_Code 
 mono_debug_personality (int a, _Unwind_Action b,
@@ -136,7 +112,7 @@ void
 default_mono_llvm_unhandled_exception (void);
 
 void
-mono_llvm_raise_exception (MonoException *e);
+mono_llvm_create_di_compile_unit (LLVMModuleRef module);
 
 G_END_DECLS