commit | 5defacc6e605f4651c6300237cef8e9bb2eb6d0e | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Fri Jul 31 17:39:07 2009 +0000 |
committer | Owen Anderson <resistor@mac.com> | Fri Jul 31 17:39:07 2009 +0000 |
tree | 083068ba3cfc6652b20e6dbe0dbcfe207cc00f6e | |
parent | ed47a0409b187d5dcd2bddfd054326fc809d00ae [diff] [blame] |
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
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 @@ } // Constant condition variables mean the branch can only go a single way - Succs[C == Context->getFalse()] = true; + Succs[C == ConstantInt::getFalse(*Context)] = true; return; }