aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/InductionVariable.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-04-23 16:36:11 +0000
committerChris Lattner <sabre@nondot.org>2003-04-23 16:36:11 +0000
commit2ee82e05e3e41fa23951d3503db5483a36dc3ae3 (patch)
tree392b6989abbe2842df212bd2d71919013e370d6d /lib/Analysis/InductionVariable.cpp
parentd55e98673a376918c3d109b1c1b8cb004fdeba08 (diff)
Remove unneccesary &*
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5871 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/InductionVariable.cpp')
-rw-r--r--lib/Analysis/InductionVariable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/InductionVariable.cpp b/lib/Analysis/InductionVariable.cpp
index c71033e460..321c237c87 100644
--- a/lib/Analysis/InductionVariable.cpp
+++ b/lib/Analysis/InductionVariable.cpp
@@ -213,7 +213,7 @@ Value* InductionVariable::getExecutionCount(LoopInfo *LoopInfo) {
DEBUG(std::cerr << "no terminator instruction!");
return NULL;
}
- SetCondInst *SCI = dyn_cast<SetCondInst>(&*B->getCondition());
+ SetCondInst *SCI = dyn_cast<SetCondInst>(B->getCondition());
if (SCI && InductionType == Cannonical) {
DEBUG(std::cerr << "sci:" << *SCI);