diff options
author | Nathan Binkert <nate@binkert.org> | 2010-06-10 23:17:07 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2010-06-10 23:17:07 -0700 |
commit | 3df84fd8a0ce3959c0deb4c206d910fc0d050f47 (patch) | |
tree | e9532570ee56986f92c40511f1fc83991d6691c9 /src/cpu/rubytest/CheckTable.hh | |
parent | 006818aeea6176c4500c5f7414e9f2a822c77062 (diff) | |
download | gem5-3df84fd8a0ce3959c0deb4c206d910fc0d050f47.tar.xz |
ruby: get rid of the Map class
Diffstat (limited to 'src/cpu/rubytest/CheckTable.hh')
-rw-r--r-- | src/cpu/rubytest/CheckTable.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cpu/rubytest/CheckTable.hh b/src/cpu/rubytest/CheckTable.hh index 117fb1276..5a4ead337 100644 --- a/src/cpu/rubytest/CheckTable.hh +++ b/src/cpu/rubytest/CheckTable.hh @@ -33,12 +33,12 @@ #include <iostream> #include <vector> +#include "base/hashmap.hh" +#include "mem/ruby/common/Address.hh" #include "mem/ruby/common/Global.hh" -class Address; class Check; class RubyTester; -template <class KEY_TYPE, class VALUE_TYPE> class Map; class CheckTable { @@ -64,7 +64,7 @@ class CheckTable CheckTable& operator=(const CheckTable& obj); std::vector<Check*> m_check_vector; - Map<Address, Check*>* m_lookup_map_ptr; + m5::hash_map<Address, Check*> m_lookup_map; int m_num_cpu_sequencers; RubyTester* m_tester_ptr; |