summaryrefslogtreecommitdiff
path: root/Source/Core/Common/BreakPoints.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/Common/BreakPoints.cpp')
-rw-r--r--Source/Core/Common/BreakPoints.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/Source/Core/Common/BreakPoints.cpp b/Source/Core/Common/BreakPoints.cpp
index db0cedf0bb..6014eae776 100644
--- a/Source/Core/Common/BreakPoints.cpp
+++ b/Source/Core/Common/BreakPoints.cpp
@@ -113,6 +113,19 @@ void BreakPoints::Clear()
m_BreakPoints.clear();
}
+void BreakPoints::ClearAllTemporary()
+{
+ for (const TBreakPoint& bp : m_BreakPoints)
+ {
+ if (bp.bTemporary)
+ {
+ if (jit)
+ jit->GetBlockCache()->InvalidateICache(bp.iAddress, 4, true);
+ Remove(bp.iAddress);
+ }
+ }
+}
+
MemChecks::TMemChecksStr MemChecks::GetStrings() const
{
TMemChecksStr mcs;