[llvm-mca] Constify SourceMgr::hasNext. NFC.

llvm-svn: 336961
This commit is contained in:
Matt Davis 2018-07-12 23:19:30 +00:00
parent 7b68fa7fcd
commit 73dd5f9c08
1 changed files with 1 additions and 1 deletions

View File

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