summaryrefslogtreecommitdiff
path: root/src/mem
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2014-09-01 16:55:42 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2014-09-01 16:55:42 -0500
commit6ceb1aadc2d64576c4506657da6b3ba1b7a2d4ea (patch)
tree151844fa9e8c6e0da469e9ade8389ef37a83a453 /src/mem
parent00dbadcbb09c51b8d05a22c21193b55d7e9a0cf1 (diff)
downloadgem5-6ceb1aadc2d64576c4506657da6b3ba1b7a2d4ea.tar.xz
ruby: remove unused toString() from AbstractController
Diffstat (limited to 'src/mem')
-rw-r--r--src/mem/ruby/slicc_interface/AbstractController.hh2
-rw-r--r--src/mem/slicc/symbols/StateMachine.py7
2 files changed, 0 insertions, 9 deletions
diff --git a/src/mem/ruby/slicc_interface/AbstractController.hh b/src/mem/ruby/slicc_interface/AbstractController.hh
index 7dcb3b8ba..36b4665c3 100644
--- a/src/mem/ruby/slicc_interface/AbstractController.hh
+++ b/src/mem/ruby/slicc_interface/AbstractController.hh
@@ -66,8 +66,6 @@ class AbstractController : public ClockedObject, public Consumer
void unblock(Address);
virtual MessageBuffer* getMandatoryQueue() const = 0;
- virtual const std::string toString() const = 0; // returns text version of
- // controller type
virtual AccessPermission getAccessPermission(const Address& addr) = 0;
virtual DataBlock& getDataBlock(const Address& addr) = 0;
diff --git a/src/mem/slicc/symbols/StateMachine.py b/src/mem/slicc/symbols/StateMachine.py
index 578d3ae0b..2a65d3972 100644
--- a/src/mem/slicc/symbols/StateMachine.py
+++ b/src/mem/slicc/symbols/StateMachine.py
@@ -253,7 +253,6 @@ class $c_ident : public AbstractController
static int getNumControllers();
void init();
MessageBuffer* getMandatoryQueue() const;
- const std::string toString() const;
void print(std::ostream& out) const;
void wakeup();
@@ -807,12 +806,6 @@ $c_ident::getSequencer() const
return $seq_ident;
}
-const string
-$c_ident::toString() const
-{
- return "$c_ident";
-}
-
void
$c_ident::print(ostream& out) const
{