Simplify. NFC.
Thanks to Teresa Johnson for the suggestion.
llvm-svn: 323365
diff --git a/llvm/lib/LTO/LTO.cpp b/llvm/lib/LTO/LTO.cpp
index 69d46a5..ccbd065 100644
--- a/llvm/lib/LTO/LTO.cpp
+++ b/llvm/lib/LTO/LTO.cpp
@@ -641,7 +641,7 @@
// Set the 'local' flag based on the linker resolution for this symbol.
if (Res.FinalDefinitionInLinkageUnit)
- GV->setDSOLocal(Res.FinalDefinitionInLinkageUnit);
+ GV->setDSOLocal(true);
}
// Common resolution: collect the maximum size/alignment over all commons.
// We also record if we see an instance of a common as prevailing, so that