From f998685cd9754e4c1de1c98343c3f366703c6561 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 27 Apr 2002 07:27:19 +0000 Subject: s/Method/Function llvm-svn: 2336 --- llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp') diff --git a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp index c22ede96b33..4f12d697b14 100644 --- a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp +++ b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp @@ -14,7 +14,7 @@ #include "llvm/CodeGen/PhyRegAlloc.h" #include "llvm/CodeGen/MachineInstr.h" #include "llvm/CodeGen/MachineCodeForMethod.h" -#include "llvm/Analysis/LiveVar/MethodLiveVarInfo.h" +#include "llvm/Analysis/LiveVar/FunctionLiveVarInfo.h" #include "llvm/Analysis/LoopInfo.h" #include "llvm/Target/TargetMachine.h" #include "llvm/Target/MachineFrameInfo.h" @@ -50,7 +50,7 @@ namespace { cerr << "\n******************** Function "<< F->getName() << " ********************\n"; - PhyRegAlloc PRA(F, Target, &getAnalysis(), + PhyRegAlloc PRA(F, Target, &getAnalysis(), &getAnalysis()); PRA.allocateRegisters(); @@ -60,7 +60,7 @@ namespace { virtual void getAnalysisUsage(AnalysisUsage &AU) const { AU.addRequired(cfg::LoopInfo::ID); - AU.addRequired(MethodLiveVarInfo::ID); + AU.addRequired(FunctionLiveVarInfo::ID); } }; } @@ -74,7 +74,7 @@ Pass *getRegisterAllocator(TargetMachine &T) { //---------------------------------------------------------------------------- PhyRegAlloc::PhyRegAlloc(Function *F, const TargetMachine& tm, - MethodLiveVarInfo *Lvi, + FunctionLiveVarInfo *Lvi, cfg::LoopInfo *LDC) : TM(tm), Meth(F), mcInfo(MachineCodeForMethod::get(F)), -- cgit v1.2.3