Move getTrue() and getFalse() to 2.5-like APIs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77685 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Owen Anderson
2009-07-31 17:39:07 +00:00
parent ed47a0409b
commit 5defacc6e6
16 changed files with 157 additions and 164 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ void SparseSolver::getFeasibleSuccessors(TerminatorInst &TI,
}
// Constant condition variables mean the branch can only go a single way
Succs[C == Context->getFalse()] = true;
Succs[C == ConstantInt::getFalse(*Context)] = true;
return;
}