diff options
author | Nikos Nikoleris <nikos.nikoleris@arm.com> | 2017-02-21 14:14:44 +0000 |
---|---|---|
committer | Nikos Nikoleris <nikos.nikoleris@arm.com> | 2017-02-21 14:14:44 +0000 |
commit | e8723310ef08e310715bb83c6e5aaae8829214e4 (patch) | |
tree | 71ff264ac76b4653f28cf08e6efc40609249fe47 /src/mem/cache | |
parent | da1ddb9aa77a9ba82003362e5ebcffd903221712 (diff) | |
download | gem5-e8723310ef08e310715bb83c6e5aaae8829214e4.tar.xz |
mem: Remove unused type BlkList from the cache and the tags
Change-Id: If9ebb8488e8db587482ecfa99d2c12cfe5734fb9
Reviewed-by: Andreas Hansson <andreas.hansson@arm.com>
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src/mem/cache')
-rw-r--r-- | src/mem/cache/cache.hh | 5 | ||||
-rw-r--r-- | src/mem/cache/tags/base_set_assoc.hh | 2 | ||||
-rw-r--r-- | src/mem/cache/tags/fa_lru.hh | 2 |
3 files changed, 0 insertions, 9 deletions
diff --git a/src/mem/cache/cache.hh b/src/mem/cache/cache.hh index 7f9130d62..e5c8ab61f 100644 --- a/src/mem/cache/cache.hh +++ b/src/mem/cache/cache.hh @@ -73,11 +73,6 @@ class BasePrefetcher; */ class Cache : public BaseCache { - public: - - /** A typedef for a list of CacheBlk pointers. */ - typedef std::list<CacheBlk*> BlkList; - protected: /** diff --git a/src/mem/cache/tags/base_set_assoc.hh b/src/mem/cache/tags/base_set_assoc.hh index 40ff5ca5d..12be07206 100644 --- a/src/mem/cache/tags/base_set_assoc.hh +++ b/src/mem/cache/tags/base_set_assoc.hh @@ -78,8 +78,6 @@ class BaseSetAssoc : public BaseTags public: /** Typedef the block type used in this tag store. */ typedef CacheBlk BlkType; - /** Typedef for a list of pointers to the local block class. */ - typedef std::list<BlkType*> BlkList; /** Typedef the set type used in this tag store. */ typedef CacheSet<CacheBlk> SetType; diff --git a/src/mem/cache/tags/fa_lru.hh b/src/mem/cache/tags/fa_lru.hh index 49f10a0aa..89e15d83e 100644 --- a/src/mem/cache/tags/fa_lru.hh +++ b/src/mem/cache/tags/fa_lru.hh @@ -90,8 +90,6 @@ class FALRU : public BaseTags public: /** Typedef the block type used in this class. */ typedef FALRUBlk BlkType; - /** Typedef a list of pointers to the local block type. */ - typedef std::list<FALRUBlk*> BlkList; protected: /** Array of pointers to blocks at the cache size boundaries. */ |