#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
mono_llvm_set_is_constant (LLVMValueRef global_var);
void
-mono_llvm_cpp_throw_exception (gint32 *exc);
-
-void
-mono_llvm_cpp_rethrow_exception (gint32 *exc);
-
-void
-mono_llvm_rethrow_exception (MonoException *e, gint32 *exc_tag);
-
-void
-mono_llvm_throw_exception (MonoException *e, gint32 *exc_tag);
-
-//gint32
-//mono_llvm_match_exception (MonoAotModule *amodule, guint32 aot_method_index);
-//
-// FIXME: The aot.h header is not cpp-safe. Since this header is shared, I am
-// temporarily stubbing it out. The real solution is to partition this header at
-// some point.
-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,