diff options
| author | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2017-10-16 21:19:40 +0000 |
|---|---|---|
| committer | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2017-10-16 21:19:40 +0000 |
| commit | e29e07904ca115c59a6451b92d03535e20349a81 (patch) | |
| tree | 615e1735a0a2d34b578257c01352f0fc7d39af33 | |
| parent | d3b231c44d056d6c3ab4920925c63af9e44a21a8 (diff) | |
| download | bcm5719-llvm-e29e07904ca115c59a6451b92d03535e20349a81.tar.gz bcm5719-llvm-e29e07904ca115c59a6451b92d03535e20349a81.zip | |
Replace make_range in MachineRegisterInfo with ArrayRef, NFC
llvm-svn: 315938
| -rw-r--r-- | llvm/include/llvm/CodeGen/MachineRegisterInfo.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineRegisterInfo.h b/llvm/include/llvm/CodeGen/MachineRegisterInfo.h index 3f8dcfe76cc..e761ef2f7c3 100644 --- a/llvm/include/llvm/CodeGen/MachineRegisterInfo.h +++ b/llvm/include/llvm/CodeGen/MachineRegisterInfo.h @@ -841,8 +841,9 @@ public: livein_iterator livein_begin() const { return LiveIns.begin(); } livein_iterator livein_end() const { return LiveIns.end(); } bool livein_empty() const { return LiveIns.empty(); } - iterator_range<livein_iterator> liveins() const { - return make_range(livein_begin(), livein_end()); + + ArrayRef<std::pair<unsigned, unsigned>> liveins() const { + return LiveIns; } bool isLiveIn(unsigned Reg) const; |

