diff options
author | Stephen Hines <hines@cs.fsu.edu> | 2008-02-06 16:32:40 -0500 |
---|---|---|
committer | Stephen Hines <hines@cs.fsu.edu> | 2008-02-06 16:32:40 -0500 |
commit | 6cc1573923754ecb406d03ab4d807f928737c294 (patch) | |
tree | 08e407623fedf71b04b128eb93734d4f51988b36 /src/arch | |
parent | 0ccf9a2c3751f160d7d51153ef468a60b4daf8d0 (diff) | |
download | gem5-6cc1573923754ecb406d03ab4d807f928737c294.tar.xz |
Make the Event::description() a const function
--HG--
extra : convert_revision : c7768d54d3f78685e93920069f5485083ca989c0
Diffstat (limited to 'src/arch')
-rwxr-xr-x | src/arch/mips/regfile/misc_regfile.cc | 2 | ||||
-rw-r--r-- | src/arch/mips/regfile/misc_regfile.hh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/mips/regfile/misc_regfile.cc b/src/arch/mips/regfile/misc_regfile.cc index 5e4c803fc..dc6ae0baf 100755 --- a/src/arch/mips/regfile/misc_regfile.cc +++ b/src/arch/mips/regfile/misc_regfile.cc @@ -577,7 +577,7 @@ MiscRegFile::CP0Event::process() } const char * -MiscRegFile::CP0Event::description() +MiscRegFile::CP0Event::description() const { return "Coprocessor-0 event"; } diff --git a/src/arch/mips/regfile/misc_regfile.hh b/src/arch/mips/regfile/misc_regfile.hh index a6f1a15c6..5f19579b3 100644 --- a/src/arch/mips/regfile/misc_regfile.hh +++ b/src/arch/mips/regfile/misc_regfile.hh @@ -139,7 +139,7 @@ namespace MipsISA virtual void process(); /** Returns the description of this event. */ - const char *description(); + const char *description() const; /** Schedule This Event */ void scheduleEvent(int delay); |