From 006818aeea6176c4500c5f7414e9f2a822c77062 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Thu, 10 Jun 2010 23:17:07 -0700 Subject: ruby: get rid of Vector and use STL add a couple of helper functions to base for deleteing all pointers in a container and outputting containers to a stream --- src/mem/ruby/system/CacheMemory.hh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/mem/ruby/system/CacheMemory.hh') diff --git a/src/mem/ruby/system/CacheMemory.hh b/src/mem/ruby/system/CacheMemory.hh index 21756a606..f004b8310 100644 --- a/src/mem/ruby/system/CacheMemory.hh +++ b/src/mem/ruby/system/CacheMemory.hh @@ -34,7 +34,6 @@ #include #include "base/hashmap.hh" -#include "mem/gems_common/Vector.hh" #include "mem/protocol/AccessPermission.hh" #include "mem/protocol/CacheMsg.hh" #include "mem/protocol/CacheRequestType.hh" @@ -153,8 +152,8 @@ class CacheMemory : public SimObject // The first index is the # of cache lines. // The second index is the the amount associativity. m5::hash_map m_tag_index; - Vector > m_cache; - Vector > m_locked; + std::vector > m_cache; + std::vector > m_locked; AbstractReplacementPolicy *m_replacementPolicy_ptr; -- cgit v1.2.3