memcpy (&ctx, &jit_tls->ex_ctx, sizeof (MonoContext));
+ MONO_ENTER_GC_UNSAFE_UNBALANCED;
+
mono_handle_exception (&ctx, (MonoObject *)obj);
+ MONO_EXIT_GC_UNSAFE_UNBALANCED;
+
mono_restore_context (&ctx);
}
memcpy (&ctx, &jit_tls->ex_ctx, sizeof (MonoContext));
+ MONO_ENTER_GC_UNSAFE_UNBALANCED;
+
mono_handle_exception (&ctx, (MonoObject*)obj);
+ MONO_EXIT_GC_UNSAFE_UNBALANCED;
+
mono_restore_context (&ctx);
}
memcpy (&ctx, &jit_tls->ex_ctx, sizeof (MonoContext));
+ MONO_ENTER_GC_UNSAFE_UNBALANCED;
+
mono_handle_exception (&ctx, (MonoObject*)obj);
+ MONO_EXIT_GC_UNSAFE_UNBALANCED;
+
mono_restore_context (&ctx);
}
memcpy (&ctx, &jit_tls->ex_ctx, sizeof (MonoContext));
+ MONO_ENTER_GC_UNSAFE_UNBALANCED;
+
mono_handle_exception (&ctx, obj);
+ MONO_EXIT_GC_UNSAFE_UNBALANCED;
+
mono_restore_context (&ctx);
}
MonoJitTlsData *jit_tls = mono_tls_get_jit_tls ();
MonoContext ctx = jit_tls->ex_ctx;
+ MONO_ENTER_GC_UNSAFE_UNBALANCED;
+
mono_handle_exception (&ctx, obj);
+
+ MONO_EXIT_GC_UNSAFE_UNBALANCED;
+
mono_restore_context (&ctx);
}
MonoContext ctx;
memcpy (&ctx, &jit_tls->ex_ctx, sizeof (MonoContext));
+
+ MONO_ENTER_GC_UNSAFE_UNBALANCED;
+
mono_handle_exception (&ctx, obj);
+
+ MONO_EXIT_GC_UNSAFE_UNBALANCED;
+
mono_restore_context (&ctx);
}
memcpy (&ctx, &jit_tls->ex_ctx, sizeof (MonoContext));
+ MONO_ENTER_GC_UNSAFE_UNBALANCED;
+
mono_handle_exception (&ctx, (MonoObject*)obj);
+ MONO_EXIT_GC_UNSAFE_UNBALANCED;
+
mono_restore_context (&ctx);
}