[llvm] r250748 - Linker: Remove implicit ilist iterator conversion, NFC
Duncan P. N. Exon Smith via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 19 15:23:36 PDT 2015
Author: dexonsmith
Date: Mon Oct 19 17:23:36 2015
New Revision: 250748
URL: http://llvm.org/viewvc/llvm-project?rev=250748&view=rev
Log:
Linker: Remove implicit ilist iterator conversion, NFC
Modified:
llvm/trunk/lib/Linker/LinkModules.cpp
Modified: llvm/trunk/lib/Linker/LinkModules.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Linker/LinkModules.cpp?rev=250748&r1=250747&r2=250748&view=diff
==============================================================================
--- llvm/trunk/lib/Linker/LinkModules.cpp (original)
+++ llvm/trunk/lib/Linker/LinkModules.cpp Mon Oct 19 17:23:36 2015
@@ -1219,7 +1219,7 @@ bool ModuleLinker::linkFunctionBody(Func
DI->setName(Arg.getName()); // Copy the name over.
// Add a mapping to our mapping.
- ValueMap[&Arg] = DI;
+ ValueMap[&Arg] = &*DI;
++DI;
}
More information about the llvm-commits
mailing list