[runtime] Add functionality for AOTing assemblies on demand when they are first used...
[mono.git] / mono / metadata / domain.c
index f7e22bb99f91b4960575ce46a89c21f84388e4da..b1b912f4e9bf501d4de270ccddde431bc4d0ad3f 100644 (file)
@@ -138,6 +138,9 @@ static const MonoRuntimeInfo supported_runtimes[] = {
 static MonoCreateDomainFunc create_domain_hook;
 static MonoFreeDomainFunc free_domain_hook;
 
+/* AOT cache configuration */
+static MonoAotCacheConfig aot_cache_config;
+
 /* This is intentionally not in the header file, so people don't misuse it. */
 extern void _mono_debug_init_corlib (MonoDomain *domain);
 
@@ -2776,3 +2779,9 @@ mono_enable_debug_domain_unload (gboolean enable)
 {
        debug_domain_unload = enable;
 }
+
+MonoAotCacheConfig *
+mono_get_aot_cache_config (void)
+{
+       return &aot_cache_config;
+}