Skip to content

Commit a4264e6

Browse files
author
Aleksei.Glushko
committed
Workaround MSVC (14.29.30133) compilation failure
1 parent 8e977e4 commit a4264e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: llvm/lib/LTO/ThinLTOCodeGenerator.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1783,7 +1783,7 @@ void ThinLTOCodeGenerator::run() {
17831783
};
17841784
struct ModuleInfo {
17851785
std::unique_ptr<AsyncModuleCacheEntry> Entry;
1786-
std::atomic<unsigned> State = ModuleState::MS_Empty;
1786+
std::atomic<unsigned> State = 0b0000;
17871787
std::unique_ptr<MemoryBuffer> ComputedBuffer;
17881788
std::unique_ptr<MemoryBuffer> CachedBuffer;
17891789
};

0 commit comments

Comments
 (0)