JitCache: Erase address from noSpeculativeConstantsAddresses when block is invalidated.

This commit is contained in:
Admiral H. Curtiss 2022-10-08 02:19:16 +02:00
parent 6e3d140283
commit 6a2ed5758e
No known key found for this signature in database
GPG Key ID: F051B4C4044F33FB
1 changed files with 2 additions and 0 deletions

View File

@ -59,6 +59,7 @@ void JitBaseBlockCache::Clear()
#endif
m_jit.js.fifoWriteAddresses.clear();
m_jit.js.pairedQuantizeAddresses.clear();
m_jit.js.noSpeculativeConstantsAddresses.clear();
for (auto& e : block_map)
{
DestroyBlock(e.second);
@ -255,6 +256,7 @@ void JitBaseBlockCache::InvalidateICacheInternal(u32 physical_address, u32 addre
{
m_jit.js.fifoWriteAddresses.erase(i);
m_jit.js.pairedQuantizeAddresses.erase(i);
m_jit.js.noSpeculativeConstantsAddresses.erase(i);
}
}
}