summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ScalarEvolution.cpp
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2010-07-22 13:36:47 +0000
committerGabor Greif <ggreif@gmail.com>2010-07-22 13:36:47 +0000
commitdde79d8f1a8c08d386be32260f84c7a95cb356b8 (patch)
tree89cfba9be48e0310d4f489ba04b0d8990881c9ed /llvm/lib/Analysis/ScalarEvolution.cpp
parent0525393a7954395014db6d7b1833df8c4121f6de (diff)
downloadbcm5719-llvm-dde79d8f1a8c08d386be32260f84c7a95cb356b8.tar.gz
bcm5719-llvm-dde79d8f1a8c08d386be32260f84c7a95cb356b8.zip
mass elimination of reliance on automatic iterator dereferencing
llvm-svn: 109103
Diffstat (limited to 'llvm/lib/Analysis/ScalarEvolution.cpp')
-rw-r--r--llvm/lib/Analysis/ScalarEvolution.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/ScalarEvolution.cpp b/llvm/lib/Analysis/ScalarEvolution.cpp
index 3c67a348fe8..9f285ec580c 100644
--- a/llvm/lib/Analysis/ScalarEvolution.cpp
+++ b/llvm/lib/Analysis/ScalarEvolution.cpp
@@ -2588,7 +2588,7 @@ PushDefUseChildren(Instruction *I,
// Push the def-use children onto the Worklist stack.
for (Value::use_iterator UI = I->use_begin(), UE = I->use_end();
UI != UE; ++UI)
- Worklist.push_back(cast<Instruction>(UI));
+ Worklist.push_back(cast<Instruction>(*UI));
}
/// ForgetSymbolicValue - This looks up computed SCEV values for all
OpenPOWER on IntegriCloud