summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-08-08 19:01:28 +0000
committerChris Lattner <sabre@nondot.org>2002-08-08 19:01:28 +0000
commit40eb9dafede7b1411d3bfd90a456c01ffea19d4b (patch)
tree1d115cdb234c5a6657dbe08dffda7c81b3373ad7 /llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
parent4b2ee2e8486251e2492b651f3325abe018f534ab (diff)
downloadbcm5719-llvm-40eb9dafede7b1411d3bfd90a456c01ffea19d4b.tar.gz
bcm5719-llvm-40eb9dafede7b1411d3bfd90a456c01ffea19d4b.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: 3264
Diffstat (limited to 'llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp')
-rw-r--r--llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
index a192310686d..66f6fed2bdc 100644
--- a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
+++ b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp
@@ -64,8 +64,8 @@ namespace {
}
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
- AU.addRequired(LoopInfo::ID);
- AU.addRequired(FunctionLiveVarInfo::ID);
+ AU.addRequired<LoopInfo>();
+ AU.addRequired<FunctionLiveVarInfo>();
}
};
}
OpenPOWER on IntegriCloud