[llvm] r250192 - OrcJIT: Remove implicit ilist iterator conversions, NFC
Duncan P. N. Exon Smith via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 13 11:10:59 PDT 2015
Author: dexonsmith
Date: Tue Oct 13 13:10:59 2015
New Revision: 250192
URL: http://llvm.org/viewvc/llvm-project?rev=250192&view=rev
Log:
OrcJIT: Remove implicit ilist iterator conversions, NFC
Modified:
llvm/trunk/lib/ExecutionEngine/Orc/IndirectionUtils.cpp
Modified: llvm/trunk/lib/ExecutionEngine/Orc/IndirectionUtils.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/Orc/IndirectionUtils.cpp?rev=250192&r1=250191&r2=250192&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/Orc/IndirectionUtils.cpp (original)
+++ llvm/trunk/lib/ExecutionEngine/Orc/IndirectionUtils.cpp Tue Oct 13 13:10:59 2015
@@ -121,7 +121,7 @@ Function* cloneFunctionDecl(Module &Dst,
auto NewArgI = NewF->arg_begin();
for (auto ArgI = F.arg_begin(), ArgE = F.arg_end(); ArgI != ArgE;
++ArgI, ++NewArgI)
- (*VMap)[ArgI] = NewArgI;
+ (*VMap)[&*ArgI] = &*NewArgI;
}
return NewF;
More information about the llvm-commits
mailing list