diff options
Diffstat (limited to 'lib/CodeGen/RegAlloc/PhyRegAlloc.h')
-rw-r--r-- | lib/CodeGen/RegAlloc/PhyRegAlloc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/RegAlloc/PhyRegAlloc.h b/lib/CodeGen/RegAlloc/PhyRegAlloc.h index da4d2fd8ec..ca517138b7 100644 --- a/lib/CodeGen/RegAlloc/PhyRegAlloc.h +++ b/lib/CodeGen/RegAlloc/PhyRegAlloc.h @@ -35,7 +35,7 @@ #include <vector> #include <map> -class MachineCodeForMethod; +class MachineFunction; class MachineRegInfo; class FunctionLiveVarInfo; class MachineInstr; @@ -71,7 +71,7 @@ class PhyRegAlloc: public NonCopyable { std::vector<RegClass *> RegClassList; // vector of register classes const TargetMachine &TM; // target machine const Function *Meth; // name of the function we work on - MachineCodeForMethod &mcInfo; // descriptor for method's native code + MachineFunction &mcInfo; // descriptor for method's native code FunctionLiveVarInfo *const LVI; // LV information for this method // (already computed for BBs) LiveRangeInfo LRI; // LR info (will be computed) |