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 | 4f720fae677b937ace6ffd2bdbfb670ddbadc663 (patch) | |
tree | 083068ba3cfc6652b20e6dbe0dbcfe207cc00f6e /lib/Analysis/SparsePropagation.cpp | |
parent | 3ab1fdf291804b5e9adf548db6ee6df63114ed20 (diff) | |
download | external_llvm-4f720fae677b937ace6ffd2bdbfb670ddbadc663.zip external_llvm-4f720fae677b937ace6ffd2bdbfb670ddbadc663.tar.gz external_llvm-4f720fae677b937ace6ffd2bdbfb670ddbadc663.tar.bz2 |
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 2522932..887982b 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; } |