commit | 4f720fae677b937ace6ffd2bdbfb670ddbadc663 | [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 | 3ab1fdf291804b5e9adf548db6ee6df63114ed20 [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; }