Skip to content

Commit 2f3320e

Browse files
committed
Fix build
1 parent c840bc2 commit 2f3320e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/LTO/ThinLTOCodeGenerator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1920,7 +1920,7 @@ void ThinLTOCodeGenerator::run() {
19201920

19211921
// Parallel optimizer + codegen
19221922
{
1923-
DefaultThreadPool Pool(heavyweight_hardware_concurrency(ThreadCount));
1923+
ThreadPool Pool(heavyweight_hardware_concurrency(ThreadCount));
19241924
for (auto count : ModulesOrdering) {
19251925
auto ModuleEntryPath = Infos[count].Entry->getEntryPath();
19261926
Pool.async([&, count, ModuleEntryPath, GetCancelTok] {

0 commit comments

Comments
 (0)