[aot] Added command-line parsing support for hybrid AOT mode.
authorJoão Matos <joao@tritao.eu>
Fri, 15 May 2015 15:50:59 +0000 (16:50 +0100)
committerJoão Matos <joao@tritao.eu>
Fri, 15 May 2015 15:52:32 +0000 (16:52 +0100)
mono/mini/aot-compiler.c

index 9f75cd00c3165d04ba1d0c8498a1e613cf331ef1..d73665d3b4bd0a593dda456bb688074155017b32 100644 (file)
@@ -6483,6 +6483,8 @@ mono_aot_parse_options (const char *aot_options, MonoAotOptions *opts)
                        opts->bind_to_runtime_version = TRUE;
                } else if (str_begins_with (arg, "full")) {
                        opts->mode = MONO_AOT_MODE_FULL;
+               } else if (str_begins_with (arg, "hybrid")) {
+                       opts->mode = MONO_AOT_MODE_HYBRID;                      
                } else if (str_begins_with (arg, "threads=")) {
                        opts->nthreads = atoi (arg + strlen ("threads="));
                } else if (str_begins_with (arg, "static")) {