Skip to content

Commit

Permalink
Fix the setting of gsharedvt_supported when using the embedding inter…
Browse files Browse the repository at this point in the history
…face.
  • Loading branch information
vargaz committed Jan 20, 2013
1 parent cb8c395 commit 3ccadbd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mono/mini/mini.c
Expand Up @@ -6631,6 +6631,11 @@ mini_init (const char *filename, const char *runtime_version)
if (!default_opt_set)
default_opt = mono_parse_default_optimizations (NULL);

#ifdef MONO_ARCH_GSHAREDVT_SUPPORTED
if (mono_aot_only)
mono_set_generic_sharing_vt_supported (TRUE);
#endif

InitializeCriticalSection (&jit_mutex);

#ifdef MONO_DEBUGGER_SUPPORTED
Expand Down

0 comments on commit 3ccadbd

Please sign in to comment.