diff options
| author | Cameron Zwarich <zwarich@apple.com> | 2013-02-20 06:46:44 +0000 |
|---|---|---|
| committer | Cameron Zwarich <zwarich@apple.com> | 2013-02-20 06:46:44 +0000 |
| commit | c04679f0334d5bab8f1a67785cd1418095fb2e70 (patch) | |
| tree | f2ae051a85ea90c41733e215a984fae093a2de20 /llvm | |
| parent | 294148238731d5b5e51f7664f303717cd93448ba (diff) | |
| download | bcm5719-llvm-c04679f0334d5bab8f1a67785cd1418095fb2e70.tar.gz bcm5719-llvm-c04679f0334d5bab8f1a67785cd1418095fb2e70.zip | |
Modify LiveInterval::addRange() to match the comment about what it returns.
llvm-svn: 175602
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/CodeGen/LiveInterval.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/CodeGen/LiveInterval.h b/llvm/include/llvm/CodeGen/LiveInterval.h index 95760758dec..69428853cdf 100644 --- a/llvm/include/llvm/CodeGen/LiveInterval.h +++ b/llvm/include/llvm/CodeGen/LiveInterval.h @@ -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 |

