summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Linker/LinkModules.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-10-19 22:23:36 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-10-19 22:23:36 +0000
commit9934b26b0f8c9e4310e51e77def56044379cff1b (patch)
tree7c35414565813d3464121f3d6d6fcee46c2355e9 /llvm/lib/Linker/LinkModules.cpp
parent437aafdab254e624645208bf25b9c2fc65c75935 (diff)
downloadbcm5719-llvm-9934b26b0f8c9e4310e51e77def56044379cff1b.tar.gz
bcm5719-llvm-9934b26b0f8c9e4310e51e77def56044379cff1b.zip
Linker: Remove implicit ilist iterator conversion, NFC
llvm-svn: 250748
Diffstat (limited to 'llvm/lib/Linker/LinkModules.cpp')
-rw-r--r--llvm/lib/Linker/LinkModules.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Linker/LinkModules.cpp b/llvm/lib/Linker/LinkModules.cpp
index 27fdef46795..94b12aae1f0 100644
--- a/llvm/lib/Linker/LinkModules.cpp
+++ b/llvm/lib/Linker/LinkModules.cpp
@@ -1219,7 +1219,7 @@ bool ModuleLinker::linkFunctionBody(Function &Dst, Function &Src) {
DI->setName(Arg.getName()); // Copy the name over.
// Add a mapping to our mapping.
- ValueMap[&Arg] = DI;
+ ValueMap[&Arg] = &*DI;
++DI;
}
OpenPOWER on IntegriCloud