summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/InstrSched/InstrScheduling.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/CodeGen/InstrSched/InstrScheduling.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/CodeGen/InstrSched/InstrScheduling.cpp')
-rw-r--r--llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp b/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp
index 016aedc1f21..3eae49ce1c5 100644
--- a/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp
+++ b/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp
@@ -1502,7 +1502,7 @@ namespace {
// getAnalysisUsage - We use LiveVarInfo...
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
- AU.addRequired(FunctionLiveVarInfo::ID);
+ AU.addRequired<FunctionLiveVarInfo>();
}
bool runOnFunction(Function &F);
OpenPOWER on IntegriCloud