diff options
Diffstat (limited to 'mono/mini/mini-exceptions.c')
-rw-r--r-- | mono/mini/mini-exceptions.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/mono/mini/mini-exceptions.c b/mono/mini/mini-exceptions.c index e0f4f1d094e..144a61ad654 100644 --- a/mono/mini/mini-exceptions.c +++ b/mono/mini/mini-exceptions.c @@ -2722,9 +2722,6 @@ mono_handle_exception_internal (MonoContext *ctx, MonoObject *obj, gboolean resu MONO_PROFILER_RAISE (exception_throw, (obj)); jit_tls->orig_ex_ctx_set = FALSE; -#ifdef ENABLE_NETCORE - mono_first_chance_exception_internal (obj); -#endif StackFrameInfo catch_frame; MonoFirstPassResult res; @@ -2754,12 +2751,10 @@ mono_handle_exception_internal (MonoContext *ctx, MonoObject *obj, gboolean resu * FIXME: The check below is hackish, but its hard to distinguish * these runtime invoke calls from others in the runtime. */ -#ifndef ENABLE_NETCORE if (ji && jinfo_get_method (ji)->wrapper_type == MONO_WRAPPER_RUNTIME_INVOKE) { if (prev_ji && jinfo_get_method (prev_ji) == mono_defaults.threadpool_perform_wait_callback_method) unhandled = TRUE; } -#endif if (unhandled) mini_get_dbg_callbacks ()->handle_exception ((MonoException *)obj, ctx, NULL, NULL); |