diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mem/cache/tags/base_set_assoc.hh | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mem/cache/tags/base_set_assoc.hh b/src/mem/cache/tags/base_set_assoc.hh index cbd48092c..fc15b0220 100644 --- a/src/mem/cache/tags/base_set_assoc.hh +++ b/src/mem/cache/tags/base_set_assoc.hh @@ -257,12 +257,8 @@ public: replacements[0]++; totalRefs += blk->refCount; ++sampledRefs; - blk->refCount = 0; - - // deal with evicted block - assert(blk->srcMasterId < cache->system->maxMasters()); - occupancies[blk->srcMasterId]--; + invalidate(blk); blk->invalidate(); } |