aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-06-03 02:45:09 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-06-03 02:45:09 +0000
commit498231bc601013da055fb8786d091b743c20006a (patch)
tree692dde500b4fcafc20bcff73fdca856e3d73fd39 /lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp
parent44afcb7dcf3036bec35f4c4e2f85141bc966c418 (diff)
Collapse together the abstract superclass TargetRegInfo and SparcV9RegInfo, its
only concrete implementation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13977 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp')
-rw-r--r--lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp
index e8d6010ba7..4c156bcecc 100644
--- a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp
+++ b/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)