summaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegAllocLinearScan.cpp
diff options
context:
space:
mode:
authorAlkis Evlogimenos <alkis@evlogimenos.com>2004-02-27 06:11:15 +0000
committerAlkis Evlogimenos <alkis@evlogimenos.com>2004-02-27 06:11:15 +0000
commitfc54e83cea9c8bdc924981576caac92da690dbe6 (patch)
treeab1a6acb866cbca50f3b7fa01011e736e7138759 /lib/CodeGen/RegAllocLinearScan.cpp
parent4817e9cac1ed6cf1a5a26f9c2c9da59909a96a4e (diff)
downloadllvm-fc54e83cea9c8bdc924981576caac92da690dbe6.tar.gz
llvm-fc54e83cea9c8bdc924981576caac92da690dbe6.tar.bz2
llvm-fc54e83cea9c8bdc924981576caac92da690dbe6.tar.xz
Rename member function to be consistent with the rest.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11898 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocLinearScan.cpp')
-rw-r--r--lib/CodeGen/RegAllocLinearScan.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/RegAllocLinearScan.cpp b/lib/CodeGen/RegAllocLinearScan.cpp
index 42029dc6b0..9e39618682 100644
--- a/lib/CodeGen/RegAllocLinearScan.cpp
+++ b/lib/CodeGen/RegAllocLinearScan.cpp
@@ -459,7 +459,7 @@ void RA::assignRegOrStackSlotAtInterval(IntervalPtrs::value_type cur)
}
else {
prt_->delRegUse(vrm_->getPhys(i->reg));
- vrm_->clearVirtReg(i->reg);
+ vrm_->clearVirt(i->reg);
if (i->spilled()) {
if (!i->empty()) {
IntervalPtrs::iterator it = unhandled_.begin();
@@ -479,7 +479,7 @@ void RA::assignRegOrStackSlotAtInterval(IntervalPtrs::value_type cur)
if (MRegisterInfo::isPhysicalRegister(i->reg))
fixed_.push_front(i);
else {
- vrm_->clearVirtReg(i->reg);
+ vrm_->clearVirt(i->reg);
if (i->spilled()) {
if (!i->empty()) {
IntervalPtrs::iterator it = unhandled_.begin();
@@ -497,7 +497,7 @@ void RA::assignRegOrStackSlotAtInterval(IntervalPtrs::value_type cur)
if (MRegisterInfo::isPhysicalRegister(i->reg))
fixed_.push_front(i);
else {
- vrm_->clearVirtReg(i->reg);
+ vrm_->clearVirt(i->reg);
unhandled_.push_front(i);
}
}