Merge pull request #11133 from AdmiralCurtiss/noSpeculativeConstantsAddresses

JitCache: Erase address from noSpeculativeConstantsAddresses when block is invalidated.
This commit is contained in:
JosJuice 2022-10-08 11:01:21 +02:00 committed by GitHub
commit 934349a225
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);
}
}
}