summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/PiNodeInsertion.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-08-08 19:01:30 +0000
committerChris Lattner <sabre@nondot.org>2002-08-08 19:01:30 +0000
commitf0ed55d1eeb481ae715060dac4ee6acded06db17 (patch)
tree7478bd8dc9e5818920638823739da4f513d89449 /llvm/lib/Transforms/Scalar/PiNodeInsertion.cpp
parent40eb9dafede7b1411d3bfd90a456c01ffea19d4b (diff)
downloadbcm5719-llvm-f0ed55d1eeb481ae715060dac4ee6acded06db17.tar.gz
bcm5719-llvm-f0ed55d1eeb481ae715060dac4ee6acded06db17.zip
- Cleaned up the interface to AnalysisUsage to take analysis class names
instead of ::ID's. - Pass::getAnalysis<> now no longer takes an optional argument llvm-svn: 3265
Diffstat (limited to 'llvm/lib/Transforms/Scalar/PiNodeInsertion.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/PiNodeInsertion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/PiNodeInsertion.cpp b/llvm/lib/Transforms/Scalar/PiNodeInsertion.cpp
index 399b5fee88c..bf0119f2f3c 100644
--- a/llvm/lib/Transforms/Scalar/PiNodeInsertion.cpp
+++ b/llvm/lib/Transforms/Scalar/PiNodeInsertion.cpp
@@ -44,7 +44,7 @@ namespace {
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
AU.preservesCFG();
- AU.addRequired(DominatorSet::ID);
+ AU.addRequired<DominatorSet>();
}
// insertPiNodeFor - Insert a Pi node for V in the successors of BB if our
OpenPOWER on IntegriCloud