commit | 9934b26b0f8c9e4310e51e77def56044379cff1b | [log] [tgz] |
---|---|---|
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Mon Oct 19 22:23:36 2015 +0000 |
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | Mon Oct 19 22:23:36 2015 +0000 |
tree | 7c35414565813d3464121f3d6d6fcee46c2355e9 | |
parent | 437aafdab254e624645208bf25b9c2fc65c75935 [diff] [blame] |
Linker: Remove implicit ilist iterator conversion, NFC llvm-svn: 250748
diff --git a/llvm/lib/Linker/LinkModules.cpp b/llvm/lib/Linker/LinkModules.cpp index 27fdef4..94b12aa 100644 --- a/llvm/lib/Linker/LinkModules.cpp +++ b/llvm/lib/Linker/LinkModules.cpp
@@ -1219,7 +1219,7 @@ DI->setName(Arg.getName()); // Copy the name over. // Add a mapping to our mapping. - ValueMap[&Arg] = DI; + ValueMap[&Arg] = &*DI; ++DI; }