summaryrefslogtreecommitdiff
path: root/lib/Analysis/SparsePropagation.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-07-31 17:39:07 +0000
committerOwen Anderson <resistor@mac.com>2009-07-31 17:39:07 +0000
commit5defacc6e605f4651c6300237cef8e9bb2eb6d0e (patch)
tree083068ba3cfc6652b20e6dbe0dbcfe207cc00f6e /lib/Analysis/SparsePropagation.cpp
parented47a0409b187d5dcd2bddfd054326fc809d00ae (diff)
downloadllvm-5defacc6e605f4651c6300237cef8e9bb2eb6d0e.tar.gz
llvm-5defacc6e605f4651c6300237cef8e9bb2eb6d0e.tar.bz2
llvm-5defacc6e605f4651c6300237cef8e9bb2eb6d0e.tar.xz
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.cpp2
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;
}