[llvm-commits] CVS: llvm/lib/CodeGen/VirtRegMap.h RegAllocLinearScan.cpp
Alkis Evlogimenos
alkis at niobe.cs.uiuc.edu
Fri Feb 27 00:12:01 PST 2004
Changes in directory llvm/lib/CodeGen:
VirtRegMap.h updated: 1.6 -> 1.7
RegAllocLinearScan.cpp updated: 1.66 -> 1.67
---
Log message:
Rename member function to be consistent with the rest.
---
Diffs of the changes: (+4 -4)
Index: llvm/lib/CodeGen/VirtRegMap.h
diff -u llvm/lib/CodeGen/VirtRegMap.h:1.6 llvm/lib/CodeGen/VirtRegMap.h:1.7
--- llvm/lib/CodeGen/VirtRegMap.h:1.6 Wed Feb 25 15:55:44 2004
+++ llvm/lib/CodeGen/VirtRegMap.h Fri Feb 27 00:11:15 2004
@@ -71,7 +71,7 @@
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");
Index: llvm/lib/CodeGen/RegAllocLinearScan.cpp
diff -u llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.66 llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.67
--- llvm/lib/CodeGen/RegAllocLinearScan.cpp:1.66 Wed Feb 25 16:01:06 2004
+++ llvm/lib/CodeGen/RegAllocLinearScan.cpp Fri Feb 27 00:11:15 2004
@@ -459,7 +459,7 @@
}
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 @@
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 @@
if (MRegisterInfo::isPhysicalRegister(i->reg))
fixed_.push_front(i);
else {
- vrm_->clearVirtReg(i->reg);
+ vrm_->clearVirt(i->reg);
unhandled_.push_front(i);
}
}
More information about the llvm-commits
mailing list