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:
2
src/mem/cache/cache_impl.hh
vendored
2
src/mem/cache/cache_impl.hh
vendored
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user