summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas.sandberg@arm.com>2015-09-01 13:40:28 +0100
committerAndreas Sandberg <andreas.sandberg@arm.com>2015-09-01 13:40:28 +0100
commit1fa7a4394c3dd8f12256952ce8c6fa46d1092e1a (patch)
treea2f6d57608cf3421f6bfc874ec90f6d4913b0844
parent4411c97ee186e0bc6e1c65a91b24e81ea246be70 (diff)
downloadgem5-1fa7a4394c3dd8f12256952ce8c6fa46d1092e1a.tar.xz
sim: Remove unused SerializeBuilder interface
-rw-r--r--src/sim/serialize.hh28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/sim/serialize.hh b/src/sim/serialize.hh
index 374e1a4d7..4eff2af40 100644
--- a/src/sim/serialize.hh
+++ b/src/sim/serialize.hh
@@ -365,34 +365,6 @@ class Serializable
void debug_serialize(const std::string &cpt_dir);
//
-// A SerializableBuilder serves as an evaluation context for a set of
-// parameters that describe a specific instance of a Serializable. This
-// evaluation context corresponds to a section in the .ini file (as
-// with the base ParamContext) plus an optional node in the
-// configuration hierarchy (the configNode member) for resolving
-// Serializable references. SerializableBuilder is an abstract superclass;
-// derived classes specialize the class for particular subclasses of
-// Serializable (e.g., BaseCache).
-//
-// For typical usage, see the definition of
-// SerializableClass::createObject().
-//
-class SerializableBuilder
-{
- public:
-
- SerializableBuilder() {}
-
- virtual ~SerializableBuilder() {}
-
- // Create the actual Serializable corresponding to the parameter
- // values in this context. This function is overridden in derived
- // classes to call a specific constructor for a particular
- // subclass of Serializable.
- virtual Serializable *create() = 0;
-};
-
-//
// An instance of SerializableClass corresponds to a class derived from
// Serializable. The SerializableClass instance serves to bind the string
// name (found in the config file) to a function that creates an