aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-10-27 21:43:39 +0000
committerChris Lattner <sabre@nondot.org>2009-10-27 21:43:39 +0000
commit7b876e464478bfbafb30b31cd205848fbdebcc8a (patch)
tree342366746240b8d2db0f9c12d6e6f80dd3d0564e /lib/Analysis
parent99ebfa5f6c6f24fdce4cdd3de1adbc4a282db337 (diff)
downloadexternal_llvm-7b876e464478bfbafb30b31cd205848fbdebcc8a.zip
external_llvm-7b876e464478bfbafb30b31cd205848fbdebcc8a.tar.gz
external_llvm-7b876e464478bfbafb30b31cd205848fbdebcc8a.tar.bz2
make the build build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85319 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis')
-rw-r--r--lib/Analysis/SparsePropagation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/SparsePropagation.cpp b/lib/Analysis/SparsePropagation.cpp
index 6578cb4..a10e7cb 100644
--- a/lib/Analysis/SparsePropagation.cpp
+++ b/lib/Analysis/SparsePropagation.cpp
@@ -166,7 +166,7 @@ void SparseSolver::getFeasibleSuccessors(TerminatorInst &TI,
return;
}
- if (IndBrInst *IBI = dyn_cast<IndBrInst>(TI)) {
+ if (isa<IndBrInst>(TI)) {
Succs.assign(Succs.size(), true);
return;
}