diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2003-12-06 09:57:59 -0800 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2003-12-06 09:57:59 -0800 |
commit | 37a718e45e9bb1d841c6c5d1b428461819f18a74 (patch) | |
tree | 7e239e1aa3941e197e4aebe82243b4264253afb4 /sim/serialize.hh | |
parent | b6c77fe6f8fbd6f38718bed48e731145f763888c (diff) | |
download | gem5-37a718e45e9bb1d841c6c5d1b428461819f18a74.tar.xz |
Various cleanup. Mostly forcing initialization of some fields...
I noticed that checkpoints dumped from m5.debug and m5.opt had
differences, which is no longer the case (other than addresses
encoded in names).
cpu/full_cpu/smt.hh:
Get rid of unused SMT_MAX_CPUS.
sim/debug.cc:
Use AutoDelete for DebugBreakEvent.
sim/serialize.cc:
sim/serialize.hh:
Move constructor & destructor to header so they can be inlined.
--HG--
extra : convert_revision : bc68c2c9b053b1de0d655ed555734419fafd0b83
Diffstat (limited to 'sim/serialize.hh')
-rw-r--r-- | sim/serialize.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/serialize.hh b/sim/serialize.hh index bc40d0ad2..077931d8c 100644 --- a/sim/serialize.hh +++ b/sim/serialize.hh @@ -115,8 +115,8 @@ class Serializeable void nameOut(std::ostream& os, const std::string &_name); public: - Serializeable(); - virtual ~Serializeable(); + Serializeable() : serialized(false) {} + virtual ~Serializeable() {} // manditory virtual function, so objects must provide names virtual std::string name() const = 0; |