Skip to content

Commit

Permalink
[ORC] Fix build failure (NFC)
Browse files Browse the repository at this point in the history
  • Loading branch information
DamonFool committed Apr 24, 2024
1 parent 9a8235a commit 78ebaa2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions llvm/lib/ExecutionEngine/Orc/LLJIT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -681,10 +681,8 @@ Error LLJITBuilderState::prepareForConstruction() {
inconvertibleErrorCode());
#endif // !LLVM_ENABLE_THREADS

LLVM_DEBUG({
bool ConcurrentCompilationSettingDefaulted = !SupportConcurrentCompilation;
});

[[maybe_unused]] bool ConcurrentCompilationSettingDefaulted =
!SupportConcurrentCompilation;
if (!SupportConcurrentCompilation) {
#if LLVM_ENABLE_THREADS
SupportConcurrentCompilation = NumCompileThreads || ES || EPC;
Expand Down

0 comments on commit 78ebaa2

Please sign in to comment.