changeset aa9d04c7e3bb in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=aa9d04c7e3bb
description:
mem: Remove unused type BlkList from the cache and the tags
Change-Id: If9ebb8488e8db587482ecfa99d2c12cfe5734fb9
Reviewed-by: Andreas Hansson <[email protected]>
Signed-off-by: Andreas Sandberg <[email protected]>
diffstat:
src/mem/cache/cache.hh | 5 -----
src/mem/cache/tags/base_set_assoc.hh | 2 --
src/mem/cache/tags/fa_lru.hh | 2 --
3 files changed, 0 insertions(+), 9 deletions(-)
diffs (39 lines):
diff -r cc435f8f8b05 -r aa9d04c7e3bb src/mem/cache/cache.hh
--- a/src/mem/cache/cache.hh Tue Feb 21 14:14:44 2017 +0000
+++ b/src/mem/cache/cache.hh Tue Feb 21 14:14:44 2017 +0000
@@ -73,11 +73,6 @@
*/
class Cache : public BaseCache
{
- public:
-
- /** A typedef for a list of CacheBlk pointers. */
- typedef std::list<CacheBlk*> BlkList;
-
protected:
/**
diff -r cc435f8f8b05 -r aa9d04c7e3bb src/mem/cache/tags/base_set_assoc.hh
--- a/src/mem/cache/tags/base_set_assoc.hh Tue Feb 21 14:14:44 2017 +0000
+++ b/src/mem/cache/tags/base_set_assoc.hh Tue Feb 21 14:14:44 2017 +0000
@@ -78,8 +78,6 @@
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 -r cc435f8f8b05 -r aa9d04c7e3bb src/mem/cache/tags/fa_lru.hh
--- a/src/mem/cache/tags/fa_lru.hh Tue Feb 21 14:14:44 2017 +0000
+++ b/src/mem/cache/tags/fa_lru.hh Tue Feb 21 14:14:44 2017 +0000
@@ -90,8 +90,6 @@
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. */
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev