Modify LiveInterval::addRange() to match the comment about what it returns.

llvm-svn: 175602
This commit is contained in:
Cameron Zwarich 2013-02-20 06:46:44 +00:00
parent 2941482387
commit c04679f033
1 changed files with 2 additions and 2 deletions

View File

@ -373,8 +373,8 @@ namespace llvm {
/// addRange - Add the specified LiveRange to this interval, merging
/// intervals as appropriate. This returns an iterator to the inserted live
/// range (which may have grown since it was inserted.
void addRange(LiveRange LR) {
addRangeFrom(LR, ranges.begin());
iterator addRange(LiveRange LR) {
return addRangeFrom(LR, ranges.begin());
}
/// extendInBlock - If this interval is live before Kill in the basic block