Fix a minor bug in expiredAt. endNumber() is the first number that is not valid.

llvm-svn: 17931
This commit is contained in:
Chris Lattner 2004-11-18 01:34:44 +00:00
parent a51f5eeac1
commit 7d92fc7e89
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ namespace llvm {
}
bool expiredAt(unsigned index) const {
return endNumber() <= (index + 1);
return index >= endNumber();
}
bool liveAt(unsigned index) const;