projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50c1214
)
[mono] Fix build error due to undeclared identifier 'llvm' (#84473)
author
Alexander Köplinger
<alex.koeplinger@outlook.com>
Fri, 7 Apr 2023 14:04:00 +0000
(16:04 +0200)
committer
GitHub
<noreply@github.com>
Fri, 7 Apr 2023 14:04:00 +0000
(10:04 -0400)
`llvm` is only declared when ENABLE_LLVM is defined.
src/mono/mono/mini/mini.c
patch
|
blob
|
history
diff --git
a/src/mono/mono/mini/mini.c
b/src/mono/mono/mini/mini.c
index 0c68db6c01c9ef2992ce1edf1abd406e8366fbd5..497ed8365eca6c7845af4a4ad7a90967c44daf42 100644
(file)
--- a/
src/mono/mono/mini/mini.c
+++ b/
src/mono/mono/mini/mini.c
@@
-3138,7
+3138,9
@@
mini_method_compile (MonoMethod *method, guint32 opts, JitFlags flags, int parts
opts |= MONO_OPT_FLOAT32;
#else
opts &= ~MONO_OPT_FLOAT32;
+#ifdef ENABLE_LLVM
g_assert (!llvm);
+#endif
#endif
restart_compile: