1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

Replace make_range in MachineRegisterInfo with ArrayRef, NFC

llvm-svn: 315938
This commit is contained in:
Krzysztof Parzyszek 2017-10-16 21:19:40 +00:00
parent 0d2cb47e64
commit 23820a3959

View File

@ -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;