diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2015-02-16 03:33:28 -0500 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2015-02-16 03:33:28 -0500 |
commit | d0e1b8a19c6d58a49e5288938e9b12f3f10b9f51 (patch) | |
tree | f990864e7fb9ffaf11e3895e8337737941390aa2 /src/cpu/simple | |
parent | 07ce60bdfa57eedf00f533704b5a2da3fa01b553 (diff) | |
download | gem5-d0e1b8a19c6d58a49e5288938e9b12f3f10b9f51.tar.xz |
arch: Make readMiscRegNoEffect const throughout
Finally took the plunge and made this apply to all ISAs, not just ARM.
Diffstat (limited to 'src/cpu/simple')
-rw-r--r-- | src/cpu/simple/base.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/simple/base.hh b/src/cpu/simple/base.hh index 7ace2204a..6e8b4a8c8 100644 --- a/src/cpu/simple/base.hh +++ b/src/cpu/simple/base.hh @@ -367,7 +367,7 @@ class BaseSimpleCPU : public BaseCPU, public ExecContext Addr nextInstAddr() { return thread->nextInstAddr(); } MicroPC microPC() { return thread->microPC(); } - MiscReg readMiscRegNoEffect(int misc_reg) + MiscReg readMiscRegNoEffect(int misc_reg) const { return thread->readMiscRegNoEffect(misc_reg); } |