From 7b876e464478bfbafb30b31cd205848fbdebcc8a Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 27 Oct 2009 21:43:39 +0000 Subject: [PATCH] make the build build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85319 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/SparsePropagation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Analysis/SparsePropagation.cpp b/lib/Analysis/SparsePropagation.cpp index 6578cb4681e..a10e7cb14a4 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(TI)) { + if (isa(TI)) { Succs.assign(Succs.size(), true); return; }