X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmetadata%2Fruntime.c;h=276a519f0d3d7d8b5b9bcd52dd0057367ebdf1f4;hb=f6c4420d096e238f1e861edbe7483b2ee9167709;hp=e4a4c32b3a374c054be6769d6662089e96c81587;hpb=53235a3a4373146cca48ac4fc4f2803535fa7ddc;p=mono.git diff --git a/mono/metadata/runtime.c b/mono/metadata/runtime.c index e4a4c32b3a3..276a519f0d3 100644 --- a/mono/metadata/runtime.c +++ b/mono/metadata/runtime.c @@ -15,6 +15,7 @@ #include #include #include +#include static void fire_process_exit_event (MonoDomain *domain, gpointer user_data) @@ -41,3 +42,11 @@ mono_runtime_shutdown (void) mono_domain_foreach (fire_process_exit_event, NULL); } + +gboolean +mono_runtime_is_critical_method (MonoMethod *method) +{ + if (mono_monitor_is_il_fastpath_wrapper (method)) + return TRUE; + return FALSE; +}