diff options
Diffstat (limited to 'llvm/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp')
-rw-r--r-- | llvm/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp b/llvm/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp index e8d6010ba70..4c156bcecc6 100644 --- a/llvm/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp +++ b/llvm/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp @@ -1003,7 +1003,7 @@ int PhyRegAlloc::getUniRegNotUsedByThisInst(RegClass *RC, /// setRelRegsUsedByThisInst(). /// static void markRegisterUsed(int RegNo, RegClass *RC, int RegType, - const TargetRegInfo &TRI) { + const SparcV9RegInfo &TRI) { unsigned classId = 0; int classRegNum = TRI.getClassRegNum(RegNo, classId); if (RC->getID() == classId) |