aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/cache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_machine/cache.cpp')
-rw-r--r--qtmips_machine/cache.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qtmips_machine/cache.cpp b/qtmips_machine/cache.cpp
index 231aa81..f32e0e5 100644
--- a/qtmips_machine/cache.cpp
+++ b/qtmips_machine/cache.cpp
@@ -384,6 +384,7 @@ void Cache::kick(unsigned associat_indx, unsigned row) const {
break;
}
case MachineConfigCache::RP_LFU:
+ replc.lfu[row][associat_indx] = 0;
break;
default:
break;