diff --git a/lib/CodeGen/RegAlloc/PhyRegAlloc.h b/lib/CodeGen/RegAlloc/PhyRegAlloc.h index 6871b2d28ad..9d9aa53ddf2 100644 --- a/lib/CodeGen/RegAlloc/PhyRegAlloc.h +++ b/lib/CodeGen/RegAlloc/PhyRegAlloc.h @@ -84,7 +84,7 @@ class PhyRegAlloc: public NonCopyable AddedInstrMapType AddedInstrMap; // to store instrns added in this phase - LoopDepthCalculator LoopDepthCalc; // to calculate loop depths + cfg::LoopDepthCalculator LoopDepthCalc; // to calculate loop depths ReservedColorListType ResColList; // A set of reserved regs if desired. // currently not used diff --git a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h index 6871b2d28ad..9d9aa53ddf2 100644 --- a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h +++ b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.h @@ -84,7 +84,7 @@ class PhyRegAlloc: public NonCopyable AddedInstrMapType AddedInstrMap; // to store instrns added in this phase - LoopDepthCalculator LoopDepthCalc; // to calculate loop depths + cfg::LoopDepthCalculator LoopDepthCalc; // to calculate loop depths ReservedColorListType ResColList; // A set of reserved regs if desired. // currently not used