summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitdca24ddfc75d2d22e5aee6ddd24ad43715fe196b (patch)
tree67696cbe1b1bf3a61da6424d781a358c5b80e0be /llvm/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp
parentf55aa9c49c87c4e6a7b26adafc50f545b4e2dc93 (diff)
downloadbcm5719-llvm-dca24ddfc75d2d22e5aee6ddd24ad43715fe196b.tar.gz
bcm5719-llvm-dca24ddfc75d2d22e5aee6ddd24ad43715fe196b.zip
Collapse together the abstract superclass TargetRegInfo and SparcV9RegInfo, its
only concrete implementation. llvm-svn: 13977
Diffstat (limited to 'llvm/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp')
-rw-r--r--llvm/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp2
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)
OpenPOWER on IntegriCloud