summaryrefslogtreecommitdiffstats
path: root/lld/COFF/InputFiles.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/COFF/InputFiles.cpp')
-rw-r--r--lld/COFF/InputFiles.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/COFF/InputFiles.cpp b/lld/COFF/InputFiles.cpp
index ebf6e441843..aac3b40c1ef 100644
--- a/lld/COFF/InputFiles.cpp
+++ b/lld/COFF/InputFiles.cpp
@@ -582,7 +582,7 @@ Optional<Symbol *> ObjFile::createDefined(
}
COMDATType Selection = (COMDATType)Def->Selection;
- if (Leader->isCOMDAT())
+ if (Leader->IsCOMDAT)
handleComdatSelection(Sym, Selection, Prevailing, Leader);
if (Prevailing) {
OpenPOWER on IntegriCloud