diff options
author | Owen Anderson <resistor@mac.com> | 2009-07-31 17:39:07 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-07-31 17:39:07 +0000 |
commit | 5defacc6e605f4651c6300237cef8e9bb2eb6d0e (patch) | |
tree | 083068ba3cfc6652b20e6dbe0dbcfe207cc00f6e /lib/Analysis/SparsePropagation.cpp | |
parent | ed47a0409b187d5dcd2bddfd054326fc809d00ae (diff) |
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
Diffstat (limited to 'lib/Analysis/SparsePropagation.cpp')
-rw-r--r-- | lib/Analysis/SparsePropagation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/SparsePropagation.cpp b/lib/Analysis/SparsePropagation.cpp index 2522932e12..887982b1d7 100644 --- a/lib/Analysis/SparsePropagation.cpp +++ b/lib/Analysis/SparsePropagation.cpp @@ -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; } |