X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmini%2Fllvm-runtime.cpp;h=c747e022b38f585e3da61438ad41f954061e5722;hb=7f6370f8491aa78c7ced5af5970c2ccc14e4d011;hp=3af75e6352f1cd0570edf317cc2414624c68a28e;hpb=ccdf8c3274d1793ffeddedfd784d49707feea62a;p=mono.git diff --git a/mono/mini/llvm-runtime.cpp b/mono/mini/llvm-runtime.cpp index 3af75e6352f..c747e022b38 100644 --- a/mono/mini/llvm-runtime.cpp +++ b/mono/mini/llvm-runtime.cpp @@ -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 } }