diff options
author | Amin Farmahini <aminfar@gmail.com> | 2014-01-28 18:00:50 -0600 |
---|---|---|
committer | Amin Farmahini <aminfar@gmail.com> | 2014-01-28 18:00:50 -0600 |
commit | ffbdaa7cce32bfb18f0c97b9c5f19d1aa54da503 (patch) | |
tree | 8719d8b83bf57b012d3417d956e440a86726f9df /src/mem/cache/cache_impl.hh | |
parent | 575a73f4a11432e11167537fb301dfc5d088810f (diff) | |
download | gem5-ffbdaa7cce32bfb18f0c97b9c5f19d1aa54da503.tar.xz |
mem: Remove redundant findVictim() input argument
The patch
(1) removes the redundant writeback argument from findVictim()
(2) fixes the description of access() function
Committed by: Nilay Vaish <nilay@cs.wisc.edu>
Diffstat (limited to 'src/mem/cache/cache_impl.hh')
-rw-r--r-- | src/mem/cache/cache_impl.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/cache/cache_impl.hh b/src/mem/cache/cache_impl.hh index acd3ef64f..b26473336 100644 --- a/src/mem/cache/cache_impl.hh +++ b/src/mem/cache/cache_impl.hh @@ -1192,7 +1192,7 @@ typename Cache<TagStore>::BlkType* Cache<TagStore>::allocateBlock(Addr addr, bool is_secure, PacketList &writebacks) { - BlkType *blk = tags->findVictim(addr, writebacks); + BlkType *blk = tags->findVictim(addr); if (blk->isValid()) { Addr repl_addr = tags->regenerateBlkAddr(blk->tag, blk->set); |