Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #11133 from AdmiralCurtiss/noSpeculativeConstantsA…
…ddresses

JitCache: Erase address from noSpeculativeConstantsAddresses when block is invalidated.
  • Loading branch information
JosJuice committed Oct 8, 2022
2 parents 6e3d140 + 6a2ed57 commit 934349a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/Core/Core/PowerPC/JitCommon/JitCache.cpp
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
}
}
}
Expand Down

0 comments on commit 934349a

Please sign in to comment.