diff options
author | Daniel R. Carvalho <odanrc@yahoo.com.br> | 2018-10-19 17:58:42 +0200 |
---|---|---|
committer | Daniel Carvalho <odanrc@yahoo.com.br> | 2018-10-22 10:19:10 +0000 |
commit | 0330c434e211c9b16402f4f0e76110a8524ca143 (patch) | |
tree | 26a4e12bd1efb88d5140a9e12314973769cba820 /src/mem/cache/noncoherent_cache.cc | |
parent | 34efcae1b532df56a7ef65f0e4b76179c9bc9479 (diff) | |
download | gem5-0330c434e211c9b16402f4f0e76110a8524ca143.tar.xz |
mem-cache: Move evictBlock(CacheBlk*, PacketList&) to base
Move evictBlock(CacheBlk*, PacketList&) to base cache,
as it is both sub-classes implementations are equal.
Change-Id: I80fbd16813bfcc4938fb01ed76abe29b3f8b3018
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/13656
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
Diffstat (limited to 'src/mem/cache/noncoherent_cache.cc')
-rw-r--r-- | src/mem/cache/noncoherent_cache.cc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mem/cache/noncoherent_cache.cc b/src/mem/cache/noncoherent_cache.cc index 726c32f1c..5edd435c6 100644 --- a/src/mem/cache/noncoherent_cache.cc +++ b/src/mem/cache/noncoherent_cache.cc @@ -357,15 +357,6 @@ NoncoherentCache::evictBlock(CacheBlk *blk) return pkt; } -void -NoncoherentCache::evictBlock(CacheBlk *blk, PacketList &writebacks) -{ - PacketPtr pkt = evictBlock(blk); - if (pkt) { - writebacks.push_back(pkt); - } -} - NoncoherentCache* NoncoherentCacheParams::create() { |