Rename LiveIntervals::expired() to LiveIntervals::expiredAt().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10511 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Alkis Evlogimenos 2003-12-18 08:56:11 +00:00
parent 43f692f90f
commit 485ec3c21e
4 changed files with 4 additions and 4 deletions

View File

@ -55,7 +55,7 @@ namespace llvm {
return ranges.back().second;
}
bool expired(unsigned index) const {
bool expiredAt(unsigned index) const {
return end() <= index;
}

View File

@ -55,7 +55,7 @@ namespace llvm {
return ranges.back().second;
}
bool expired(unsigned index) const {
bool expiredAt(unsigned index) const {
return end() <= index;
}

View File

@ -55,7 +55,7 @@ namespace llvm {
return ranges.back().second;
}
bool expired(unsigned index) const {
bool expiredAt(unsigned index) const {
return end() <= index;
}

View File

@ -464,7 +464,7 @@ void RA::processActiveIntervals(Intervals::const_iterator cur)
// an interval expires this is going to be the last use. in
// this case we can reuse the register for a def in the same
// instruction
if ((*i)->expired(cur->start() + 1)) {
if ((*i)->expiredAt(cur->start() + 1)) {
DEBUG(std::cerr << "\t\tinterval " << **i << " expired\n");
if (reg < MRegisterInfo::FirstVirtualRegister) {
clearReservedPhysReg(reg);