diff options
author | Matt Davis <Matthew.Davis@sony.com> | 2018-07-12 23:19:30 +0000 |
---|---|---|
committer | Matt Davis <Matthew.Davis@sony.com> | 2018-07-12 23:19:30 +0000 |
commit | fda9d387d8ff911b12538646d277c3dc4c8197ca (patch) | |
tree | 2b76efc6f14d86ee6151a547436975b0e1a79f2c /tools/llvm-mca | |
parent | 5c43c4ce5f126cfea39bec1d7ce42612340cdf49 (diff) |
[llvm-mca] Constify SourceMgr::hasNext. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@336961 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-mca')
-rw-r--r-- | tools/llvm-mca/SourceMgr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-mca/SourceMgr.h b/tools/llvm-mca/SourceMgr.h index afde35f7e00..15a85a69569 100644 --- a/tools/llvm-mca/SourceMgr.h +++ b/tools/llvm-mca/SourceMgr.h @@ -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 { |