diff --git a/FEXCore/Source/Interface/Core/Core.cpp b/FEXCore/Source/Interface/Core/Core.cpp index 974d37ab66..f262cb6ef1 100644 --- a/FEXCore/Source/Interface/Core/Core.cpp +++ b/FEXCore/Source/Interface/Core/Core.cpp @@ -478,7 +478,6 @@ namespace FEXCore::Context { Thread->LookupCache->ClearCache(); Thread->CPUBackend->ClearCache(); - Thread->DebugStore.clear(); } static void IRDumper(FEXCore::Core::InternalThreadState *Thread, IR::IREmitter *IREmitter, uint64_t GuestRIP, IR::RegisterAllocationData* RA) { @@ -957,9 +956,6 @@ namespace FEXCore::Context { // Only the lookup cache is cleared here, so that old code can keep running until next compilation std::lock_guard lkLookupCache(Thread->LookupCache->WriteLock); Thread->LookupCache->ClearCache(); - - // DebugStore also needs to be cleared - Thread->DebugStore.clear(); } } } @@ -975,7 +971,6 @@ namespace FEXCore::Context { std::lock_guard lk(Thread->LookupCache->WriteLock); - Thread->DebugStore.erase(GuestRIP); Thread->LookupCache->Erase(Thread->CurrentFrame, GuestRIP); } diff --git a/FEXCore/Source/Interface/Core/LookupCache.h b/FEXCore/Source/Interface/Core/LookupCache.h index d02d02a380..d1f93aa033 100644 --- a/FEXCore/Source/Interface/Core/LookupCache.h +++ b/FEXCore/Source/Interface/Core/LookupCache.h @@ -157,7 +157,7 @@ class LookupCache { constexpr static size_t L1_ENTRIES = 1 * 1024 * 1024; // Must be a power of 2 constexpr static size_t L1_ENTRIES_MASK = L1_ENTRIES - 1; - // This needs to be taken before reads or writes to L2, L3, CodePages, Thread::DebugStore, + // This needs to be taken before reads or writes to L2, L3, CodePages, // and before writes to L1. Concurrent access from a thread that this LookupCache doesn't belong to // may only happen during cross thread invalidation (::Erase). // All other operations must be done from the owning thread. diff --git a/FEXCore/include/FEXCore/Debug/InternalThreadState.h b/FEXCore/include/FEXCore/Debug/InternalThreadState.h index 797728a77a..f5bdfe2a64 100644 --- a/FEXCore/include/FEXCore/Debug/InternalThreadState.h +++ b/FEXCore/include/FEXCore/Debug/InternalThreadState.h @@ -10,7 +10,6 @@ #include #include #include -#include #include #include @@ -63,14 +62,6 @@ namespace FEXCore::Core { fextl::vector *Relocations; }; - struct LocalIREntry { - uint64_t StartAddr; - uint64_t Length; - fextl::unique_ptr IR; - FEXCore::IR::RegisterAllocationData::UniquePtr RAData; - fextl::unique_ptr DebugData; - }; - // Buffered JIT symbol tracking. struct JITSymbolBuffer { // Maximum buffer size to ensure we are a page in size. @@ -115,8 +106,6 @@ namespace FEXCore::Core { fextl::unique_ptr CPUBackend; fextl::unique_ptr LookupCache; - fextl::robin_map DebugStore; - fextl::unique_ptr FrontendDecoder; fextl::unique_ptr PassManager; FEXCore::HLE::ThreadManagement ThreadManager;