Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mono / mini / llvm-runtime.cpp
index 3af75e6352f1cd0570edf317cc2414624c68a28e..c747e022b38f585e3da61438ad41f954061e5722 100644 (file)
@@ -8,10 +8,14 @@ extern "C" {
 void
 mono_llvm_cpp_throw_exception (void)
 {
+#ifdef MONO_LLVM_LOADED
+       g_assert_not_reached ();
+#else
        gint32 *ex = NULL;
 
        /* The generated code catches an int32* */
        throw ex;
+#endif
 }
 
 }