Make instruction cache invalidation (for us, jit cache invalidation) clearer

This commit is contained in:
Henrik Rydgård committed 2026-08-16 16:59:52 +02:00
1 parent a49f4523cb
commit 9f90512ef6
26 files changed
+198 -135

No files matched your search

+2 -2
View File
@@ -759,9 +759,9 @@ void BreakpointManager::Frame() {
if (MIPSComp::jit && updateAddr_ != INVALID_ADDRESS) {
// In case this is a delay slot, clear the previous instruction too.
if (updateAddr_ != 0)
mipsr4k.InvalidateICache(updateAddr_ - 4, 8);
mipsr4k.InvalidateICacheRangeDeferred(updateAddr_ - 4, 8);
else
mipsr4k.ClearJitCache();
mipsr4k.ClearJitCacheDeferred();
}
if (anyMemChecks_ && updateAddr_ != INVALID_ADDRESS)