diff options
author | Gabor Greif <ggreif@gmail.com> | 2010-07-22 13:36:47 +0000 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2010-07-22 13:36:47 +0000 |
commit | e035519df392f87833b9f18e113129f55d90a7b7 (patch) | |
tree | 86a40f3abd0a781fd38106bc6f9b3137ccab1787 /lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | |
parent | b0464a9768de385a0902c9454affd8a407755f64 (diff) | |
download | external_llvm-e035519df392f87833b9f18e113129f55d90a7b7.tar.gz external_llvm-e035519df392f87833b9f18e113129f55d90a7b7.tar.bz2 external_llvm-e035519df392f87833b9f18e113129f55d90a7b7.zip |
mass elimination of reliance on automatic iterator dereferencing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109103 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index 6526134176..61b2c065a4 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -216,7 +216,7 @@ static bool FunctionCallsSetJmp(const Function *F) { for (Value::const_use_iterator I = Callee->use_begin(), E = Callee->use_end(); I != E; ++I) - if (const CallInst *CI = dyn_cast<CallInst>(I)) + if (const CallInst *CI = dyn_cast<CallInst>(*I)) if (CI->getParent()->getParent() == F) return true; } |