mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-30 07:00:57 +00:00
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
This commit is contained in:
parent
4817e9cac1
commit
fc54e83cea
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user