mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-02 07:32:52 +00:00
Modify LiveInterval::addRange() to match the comment about what it returns.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175602 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
349cf34998
commit
60af0f2561
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user