diff options
| author | Chris Lattner <sabre@nondot.org> | 2002-08-08 19:01:28 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2002-08-08 19:01:28 +0000 |
| commit | dd5b49512976df3225b67f9685642253186cde3d (patch) | |
| tree | 213595ddd8da9a7f3afd1870a37340236c897849 /lib/CodeGen | |
| parent | 5791bb70b12dfce83e2fcd3857af5a5c7fe9782e (diff) | |
- Cleaned up the interface to AnalysisUsage to take analysis class names
instead of ::ID's.
- Pass::getAnalysis<> now no longer takes an optional argument
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3264 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
| -rw-r--r-- | lib/CodeGen/RegAlloc/PhyRegAlloc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp b/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp index a192310686..66f6fed2bd 100644 --- a/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp +++ b/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>(); } }; } |
