make the build build.
authorChris Lattner <sabre@nondot.org>
Tue, 27 Oct 2009 21:43:39 +0000 (21:43 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 27 Oct 2009 21:43:39 +0000 (21:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85319 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/SparsePropagation.cpp

index 6578cb4681e4129044796694e3f222dfd4052b56..a10e7cb14a4d426f87ce077e6bfc2bdd2b543e8e 100644 (file)
@@ -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;
   }