Skip to content

Commit

Permalink
[mono] Fix build error due to undeclared identifier 'llvm' (#84473)
Browse files Browse the repository at this point in the history
`llvm` is only declared when ENABLE_LLVM is defined.
  • Loading branch information
akoeplinger authored Apr 7, 2023
1 parent 50c1214 commit 17629fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mono/mono/mini/mini.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 17629fc

Please sign in to comment.