diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2006-10-31 13:23:49 -0500 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2006-10-31 13:23:49 -0500 |
commit | 17141a1be9c656d2bba77e8853dd3d4cbce01beb (patch) | |
tree | b849a7e39abf07fb9325a22e4f71053040adcfc9 /src/sim | |
parent | c68f7feaa8bcecaf28f4110fc98b5d57bc755061 (diff) | |
download | gem5-17141a1be9c656d2bba77e8853dd3d4cbce01beb.tar.xz |
remove connectAll() and connect() code since it isn't used anymore. (The python does it all)
--HG--
extra : convert_revision : e16a1ff59d4522703b155c2e68379a3072e8f47f
Diffstat (limited to 'src/sim')
-rw-r--r-- | src/sim/sim_object.cc | 20 | ||||
-rw-r--r-- | src/sim/sim_object.hh | 2 |
2 files changed, 0 insertions, 22 deletions
diff --git a/src/sim/sim_object.cc b/src/sim/sim_object.cc index d12b06b7a..8fc8fe58f 100644 --- a/src/sim/sim_object.cc +++ b/src/sim/sim_object.cc @@ -92,11 +92,6 @@ SimObject::SimObject(const string &_name) } void -SimObject::connect() -{ -} - -void SimObject::init() { } @@ -160,21 +155,6 @@ SimObject::regAllStats() } // -// static function: call connect() on all SimObjects. -// -void -SimObject::connectAll() -{ - SimObjectList::iterator i = simObjectList.begin(); - SimObjectList::iterator end = simObjectList.end(); - - for (; i != end; ++i) { - SimObject *obj = *i; - obj->connect(); - } -} - -// // static function: call init() on all SimObjects. // void diff --git a/src/sim/sim_object.hh b/src/sim/sim_object.hh index 32807b69d..93802e247 100644 --- a/src/sim/sim_object.hh +++ b/src/sim/sim_object.hh @@ -101,9 +101,7 @@ class SimObject : public Serializable, protected StartupCallback // initialization pass of all objects. // Gets invoked after construction, before unserialize. virtual void init(); - virtual void connect(); static void initAll(); - static void connectAll(); // register statistics for this object virtual void regStats(); |