diff options
author | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-02-27 06:11:15 +0000 |
---|---|---|
committer | Alkis Evlogimenos <alkis@evlogimenos.com> | 2004-02-27 06:11:15 +0000 |
commit | e669caafe0276d2354c7137ac513670706bb718f (patch) | |
tree | 94f1b3cd77fbd8f9301c45aae197317f17c0cadd /llvm/lib/CodeGen | |
parent | 6cf4373394cc839672337992008677d1b380089c (diff) | |
download | bcm5719-llvm-e669caafe0276d2354c7137ac513670706bb718f.tar.gz bcm5719-llvm-e669caafe0276d2354c7137ac513670706bb718f.zip |
Rename member function to be consistent with the rest.
llvm-svn: 11898
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/RegAllocLinearScan.cpp | 6 | ||||
-rw-r--r-- | llvm/lib/CodeGen/VirtRegMap.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/RegAllocLinearScan.cpp b/llvm/lib/CodeGen/RegAllocLinearScan.cpp index 42029dc6b0a..9e396186827 100644 --- a/llvm/lib/CodeGen/RegAllocLinearScan.cpp +++ b/llvm/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); } } diff --git a/llvm/lib/CodeGen/VirtRegMap.h b/llvm/lib/CodeGen/VirtRegMap.h index 3c991abb62e..b0af8c5c739 100644 --- a/llvm/lib/CodeGen/VirtRegMap.h +++ b/llvm/lib/CodeGen/VirtRegMap.h @@ -71,7 +71,7 @@ namespace llvm { v2pMap_[virtReg] = physReg; } - void clearVirtReg(unsigned virtReg) { + void clearVirt(unsigned virtReg) { assert(MRegisterInfo::isVirtualRegister(virtReg)); assert(v2pMap_[virtReg] != NO_PHYS_REG && "attempt to clear a not assigned virtual register"); |