Skip to content

Commit 78ebaa2

Browse files
committed
[ORC] Fix build failure (NFC)
1 parent 9a8235a commit 78ebaa2

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

llvm/lib/ExecutionEngine/Orc/LLJIT.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -681,10 +681,8 @@ Error LLJITBuilderState::prepareForConstruction() {
681681
inconvertibleErrorCode());
682682
#endif // !LLVM_ENABLE_THREADS
683683

684-
LLVM_DEBUG({
685-
bool ConcurrentCompilationSettingDefaulted = !SupportConcurrentCompilation;
686-
});
687-
684+
[[maybe_unused]] bool ConcurrentCompilationSettingDefaulted =
685+
!SupportConcurrentCompilation;
688686
if (!SupportConcurrentCompilation) {
689687
#if LLVM_ENABLE_THREADS
690688
SupportConcurrentCompilation = NumCompileThreads || ES || EPC;

0 commit comments

Comments
 (0)