summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit23a204d91b9a6febe11e54cab7a940d8a73e4612 (patch)
treebe3eb9d190e33f3a69a17f8fc01275e4a464432e /llvm/lib/Analysis/SparsePropagation.cpp
parentc10132aa79fd7fed65b86288fa92abb172ce83d2 (diff)
downloadbcm5719-llvm-23a204d91b9a6febe11e54cab7a940d8a73e4612.tar.gz
bcm5719-llvm-23a204d91b9a6febe11e54cab7a940d8a73e4612.zip
Move getTrue() and getFalse() to 2.5-like APIs.
llvm-svn: 77685
Diffstat (limited to 'llvm/lib/Analysis/SparsePropagation.cpp')
-rw-r--r--llvm/lib/Analysis/SparsePropagation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/SparsePropagation.cpp b/llvm/lib/Analysis/SparsePropagation.cpp
index 2522932e126..887982b1d79 100644
--- a/llvm/lib/Analysis/SparsePropagation.cpp
+++ b/llvm/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;
}
OpenPOWER on IntegriCloud