* mini.c, driver.c: Initialize mono_use_llvm in mono_main(), not
in the initializer, because it's non-constant.
svn path=/trunk/mono/; revision=156042
+2010-04-24 Mark Probst <mark.probst@gmail.com>
+
+ * mini.c, driver.c: Initialize mono_use_llvm in mono_main(), not
+ in the initializer, because it's non-constant.
+
2010-04-23 Miguel de Icaza <miguel@novell.com>
* mini.c: Use MONO_USE_LLVM as an environment flag to turn the use
g_log_set_always_fatal (G_LOG_LEVEL_ERROR);
g_log_set_fatal_mask (G_LOG_DOMAIN, G_LOG_LEVEL_ERROR);
+ mono_use_llvm = getenv ("MONO_USE_LLVM") != NULL;
+
opt = parse_optimizations (NULL);
for (i = 1; i < argc; ++i) {
* one trampoline.
* - fast generic virtual calls are not supported.
*/
-gboolean mono_use_llvm = getenv ("MONO_USE_LLVM") != NULL;
+gboolean mono_use_llvm = FALSE;
#define mono_jit_lock() EnterCriticalSection (&jit_mutex)
#define mono_jit_unlock() LeaveCriticalSection (&jit_mutex)