diff options
| author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-10-13 19:47:46 +0000 |
|---|---|---|
| committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-10-13 19:47:46 +0000 |
| commit | e400a7d412f81ae5996de76a863854b9cccfde62 (patch) | |
| tree | d6117bcda87ea28539732bc8b1b788a384684829 /llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | |
| parent | 02545feb2ecc9e112802da46954ca4e01fcb6ad4 (diff) | |
| download | bcm5719-llvm-e400a7d412f81ae5996de76a863854b9cccfde62.tar.gz bcm5719-llvm-e400a7d412f81ae5996de76a863854b9cccfde62.zip | |
SelectionDAG: Remove implicit ilist iterator conversions, NFC
llvm-svn: 250214
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/FastISel.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp index 1e2f2fb0429..d5d884164b3 100644 --- a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp @@ -118,9 +118,9 @@ bool FastISel::lowerArguments() { for (Function::const_arg_iterator I = FuncInfo.Fn->arg_begin(), E = FuncInfo.Fn->arg_end(); I != E; ++I) { - DenseMap<const Value *, unsigned>::iterator VI = LocalValueMap.find(I); + DenseMap<const Value *, unsigned>::iterator VI = LocalValueMap.find(&*I); assert(VI != LocalValueMap.end() && "Missed an argument?"); - FuncInfo.ValueMap[I] = VI->second; + FuncInfo.ValueMap[&*I] = VI->second; } return true; } |

