diff options
| author | Misha Brukman <brukman+llvm@gmail.com> | 2002-10-28 00:28:31 +0000 |
|---|---|---|
| committer | Misha Brukman <brukman+llvm@gmail.com> | 2002-10-28 00:28:31 +0000 |
| commit | 7ae7f84cf3570e82facb0cf9032084e7c4549191 (patch) | |
| tree | adbe7ea506a7470b8feaea2f9b8539281dff5d05 /llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp | |
| parent | 52c2d10a19ed5fc58844ae223561ba6653f995f2 (diff) | |
| download | bcm5719-llvm-7ae7f84cf3570e82facb0cf9032084e7c4549191.tar.gz bcm5719-llvm-7ae7f84cf3570e82facb0cf9032084e7c4549191.zip | |
Changed `MachineCodeForMethod' to `MachineFunction'.
llvm-svn: 4301
Diffstat (limited to 'llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp index 5fc6a4d5c00..9899dbc71cc 100644 --- a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp +++ b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp @@ -10,7 +10,7 @@ #include "llvm/CodeGen/MachineInstr.h" #include "llvm/CodeGen/MachineInstrAnnot.h" #include "llvm/CodeGen/MachineCodeForBasicBlock.h" -#include "llvm/CodeGen/MachineCodeForMethod.h" +#include "llvm/CodeGen/MachineFunction.h" #include "llvm/Analysis/LiveVar/FunctionLiveVarInfo.h" #include "llvm/Analysis/LoopInfo.h" #include "llvm/Target/TargetMachine.h" @@ -78,7 +78,7 @@ Pass *getRegisterAllocator(TargetMachine &T) { PhyRegAlloc::PhyRegAlloc(Function *F, const TargetMachine& tm, FunctionLiveVarInfo *Lvi, LoopInfo *LDC) : TM(tm), Meth(F), - mcInfo(MachineCodeForMethod::get(F)), + mcInfo(MachineFunction::get(F)), LVI(Lvi), LRI(F, tm, RegClassList), MRI(tm.getRegInfo()), NumOfRegClasses(MRI.getNumOfRegClasses()), @@ -1194,7 +1194,7 @@ void PhyRegAlloc::allocateRegisters() if (DEBUG_RA) { cerr << "\n**** Machine Code After Register Allocation:\n\n"; - MachineCodeForMethod::get(Meth).dump(); + MachineFunction::get(Meth).dump(); } } |

