X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmini%2Faot-compiler.c;h=95dc216d70e1be5c4068e4bbf0d600834c85e294;hb=68be3904cf770be9f98a6ce0e8d71899cb94f189;hp=57507007c8da5d59201fe58473555954315e593b;hpb=62ba7ca6b45b4d2de41c645166f7680ce1014726;p=mono.git diff --git a/mono/mini/aot-compiler.c b/mono/mini/aot-compiler.c index 57507007c8d..95dc216d70e 100644 --- a/mono/mini/aot-compiler.c +++ b/mono/mini/aot-compiler.c @@ -52,6 +52,7 @@ #include #include #include +#include #include "aot-compiler.h" #include "seq-points.h" @@ -3875,13 +3876,9 @@ add_wrappers (MonoAotCompile *acfg) /* Managed Allocators */ nallocators = mono_gc_get_managed_allocator_types (); for (i = 0; i < nallocators; ++i) { - m = mono_gc_get_managed_allocator_by_type (i, TRUE); - if (m) + if ((m = mono_gc_get_managed_allocator_by_type (i, MANAGED_ALLOCATOR_REGULAR))) add_method (acfg, m); - } - for (i = 0; i < nallocators; ++i) { - m = mono_gc_get_managed_allocator_by_type (i, FALSE); - if (m) + if ((m = mono_gc_get_managed_allocator_by_type (i, MANAGED_ALLOCATOR_SLOW_PATH))) add_method (acfg, m); } } @@ -7033,6 +7030,8 @@ mono_aot_parse_options (const char *aot_options, MonoAotOptions *opts) opts->ntrampolines = atoi (arg + strlen ("ntrampolines=")); } else if (str_begins_with (arg, "nrgctx-trampolines=")) { opts->nrgctx_trampolines = atoi (arg + strlen ("nrgctx-trampolines=")); + } else if (str_begins_with (arg, "nrgctx-fetch-trampolines=")) { + opts->nrgctx_fetch_trampolines = atoi (arg + strlen ("nrgctx-fetch-trampolines=")); } else if (str_begins_with (arg, "nimt-trampolines=")) { opts->nimt_trampolines = atoi (arg + strlen ("nimt-trampolines=")); } else if (str_begins_with (arg, "ngsharedvt-trampolines=")) {