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>
This commit is contained in:
Amin Farmahini
2014-01-28 18:00:50 -06:00
parent 575a73f4a1
commit ffbdaa7cce
6 changed files with 6 additions and 8 deletions

View File

@@ -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);