projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0de646e
)
[mini] Ensure mono_llvm_create_vars() is only present in ENABLE_LLVM
author
Alexander Köplinger
<alex.koeplinger@outlook.com>
Fri, 18 Dec 2015 01:56:15 +0000
(
02:56
+0100)
committer
Alexander Köplinger
<alex.koeplinger@outlook.com>
Fri, 18 Dec 2015 01:59:23 +0000
(
02:59
+0100)
It caused a build error on msvc debug builds because the symbol wasn't there.
mono/mini/mini.c
patch
|
blob
|
history
diff --git
a/mono/mini/mini.c
b/mono/mini/mini.c
index f0d5b866ddec3f2b2a41a3dccb2ba071be1e2427..230062fdf33e56268478362efeb5a3dede11cf70 100644
(file)
--- a/
mono/mini/mini.c
+++ b/
mono/mini/mini.c
@@
-2299,10
+2299,14
@@
mono_compile_create_vars (MonoCompile *cfg)
if (cfg->verbose_level > 2)
g_print ("locals done\n");
+#ifdef ENABLE_LLVM
if (COMPILE_LLVM (cfg))
mono_llvm_create_vars (cfg);
else
mono_arch_create_vars (cfg);
+#else
+ mono_arch_create_vars (cfg);
+#endif
if (cfg->method->save_lmf && cfg->create_lmf_var) {
MonoInst *lmf_var = mono_compile_create_var (cfg, &mono_defaults.int_class->byval_arg, OP_LOCAL);