mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[llvm-mca] Constify SourceMgr::hasNext. NFC.
llvm-svn: 336961
This commit is contained in:
parent
3de6f07d48
commit
bcf4db053e
@ -40,7 +40,7 @@ public:
|
||||
unsigned size() const { return Sequence.size(); }
|
||||
const InstVec &getSequence() const { return Sequence; }
|
||||
|
||||
bool hasNext() { return Current < (Iterations * size()); }
|
||||
bool hasNext() const { return Current < (Iterations * size()); }
|
||||
void updateNext() { Current++; }
|
||||
|
||||
const SourceRef peekNext() const {
|
||||
|
Loading…
x
Reference in New Issue
Block a user