From: Nilay Vaish Date: Mon, 1 Sep 2014 21:55:42 +0000 (-0500) Subject: ruby: remove unused toString() from AbstractController X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6ceb1aadc2d64576c4506657da6b3ba1b7a2d4ea;p=gem5.git ruby: remove unused toString() from AbstractController --- 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 {