diff options
author | Kevin Lim <ktlim@umich.edu> | 2006-06-16 17:15:18 -0400 |
---|---|---|
committer | Kevin Lim <ktlim@umich.edu> | 2006-06-16 17:15:18 -0400 |
commit | f4d0f92855a505448ddac4367d5d5c698d1e4282 (patch) | |
tree | 24db50ccb1c006d0ad9c1a9f8c8b5d979012c24c /src/cpu/o3 | |
parent | baba18ab9214d1fe2236cd932c3bfca5ddfb06d6 (diff) | |
download | gem5-f4d0f92855a505448ddac4367d5d5c698d1e4282.tar.xz |
Miscellaneous minor fixes.
src/cpu/checker/cpu.cc:
Add in comment.
src/cpu/cpuevent.hh:
Fix up comment.
src/cpu/o3/bpred_unit.cc:
Comment out Ozone instantiations.
src/cpu/o3/dep_graph.hh:
Include destructor.
--HG--
extra : convert_revision : 549454ed11bc2fa49a0627f7fb8f96d00a9be303
Diffstat (limited to 'src/cpu/o3')
-rw-r--r-- | src/cpu/o3/bpred_unit.cc | 4 | ||||
-rw-r--r-- | src/cpu/o3/dep_graph.hh | 8 |
2 files changed, 10 insertions, 2 deletions
diff --git a/src/cpu/o3/bpred_unit.cc b/src/cpu/o3/bpred_unit.cc index b33543bdc..294438704 100644 --- a/src/cpu/o3/bpred_unit.cc +++ b/src/cpu/o3/bpred_unit.cc @@ -31,9 +31,9 @@ #include "cpu/o3/bpred_unit_impl.hh" #include "cpu/o3/alpha_impl.hh" #include "cpu/o3/alpha_dyn_inst.hh" -#include "cpu/ozone/ozone_impl.hh" +//#include "cpu/ozone/ozone_impl.hh" //#include "cpu/ozone/simple_impl.hh" template class BPredUnit<AlphaSimpleImpl>; -template class BPredUnit<OzoneImpl>; +//template class BPredUnit<OzoneImpl>; //template class BPredUnit<SimpleImpl>; diff --git a/src/cpu/o3/dep_graph.hh b/src/cpu/o3/dep_graph.hh index 3659b1a37..c19fd0abf 100644 --- a/src/cpu/o3/dep_graph.hh +++ b/src/cpu/o3/dep_graph.hh @@ -68,6 +68,8 @@ class DependencyGraph : numEntries(0), memAllocCounter(0), nodesTraversed(0), nodesRemoved(0) { } + ~DependencyGraph(); + /** Resize the dependency graph to have num_entries registers. */ void resize(int num_entries); @@ -121,6 +123,12 @@ class DependencyGraph }; template <class DynInstPtr> +DependencyGraph<DynInstPtr>::~DependencyGraph() +{ + delete [] dependGraph; +} + +template <class DynInstPtr> void DependencyGraph<DynInstPtr>::resize(int num_entries) { |