[llvm] Add support for passing dummy arguments before arm64 hfa structures so they...
[mono.git] / mono / mini / mini-llvm-cpp.h
index 9f3bcb831f8526b62901f8c44a0d32f1ff0ebe32..78bccd07ff9422a5adcc1ddc75af0343f5a84a8c 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,34 +96,10 @@ void
 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,