[lld] dc5fb32 - [lld][NFC] Revert commit ccec22b675195bf. (#76398)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 26 09:17:39 PST 2023
Author: Jacek Caban
Date: 2023-12-26T18:17:35+01:00
New Revision: dc5fb32547627223967f11fa08886045bba804f5
URL: https://github.com/llvm/llvm-project/commit/dc5fb32547627223967f11fa08886045bba804f5
DIFF: https://github.com/llvm/llvm-project/commit/dc5fb32547627223967f11fa08886045bba804f5.diff
LOG: [lld][NFC] Revert commit ccec22b675195bf. (#76398)
This reverts commit ccec22b675195bf45a5e34583a866ab881f94dde (#75183).
It's no longer needed with #76251.
Added:
Modified:
lld/COFF/Writer.cpp
Removed:
################################################################################
diff --git a/lld/COFF/Writer.cpp b/lld/COFF/Writer.cpp
index 2982165530c08f..2e34a6c5cfa2c0 100644
--- a/lld/COFF/Writer.cpp
+++ b/lld/COFF/Writer.cpp
@@ -560,7 +560,7 @@ void Writer::createECCodeMap() {
codeMap.clear();
std::optional<chpe_range_type> lastType;
- Chunk *first = nullptr, *last = nullptr;
+ Chunk *first, *last;
auto closeRange = [&]() {
if (lastType) {
More information about the llvm-commits
mailing list