From 6ceb1aadc2d64576c4506657da6b3ba1b7a2d4ea Mon Sep 17 00:00:00 2001 From: Nilay Vaish Date: Mon, 1 Sep 2014 16:55:42 -0500 Subject: [PATCH] ruby: remove unused toString() from AbstractController --- src/mem/ruby/slicc_interface/AbstractController.hh | 2 -- src/mem/slicc/symbols/StateMachine.py | 7 ------- 2 files changed, 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 { -- 2.30.2