mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-14 07:00:43 +02:00
Core: Do named region async code object cache usage
This commit is contained in:
1 parent
13f3c6e75a
commit
c3ac72a01e
1 file changed
+8
@@ -1180,6 +1180,10 @@ namespace FEXCore::Context {
|
||||
if (DebugServer) {
|
||||
DebugServer->AlertLibrariesChanged();
|
||||
}
|
||||
|
||||
if (CodeObjectCacheService) {
|
||||
CodeObjectCacheService->AsyncAddNamedRegionJob(Base, Size, Offset, filename);
|
||||
}
|
||||
}
|
||||
|
||||
void Context::RemoveNamedRegion(uintptr_t Base, uintptr_t Size) {
|
||||
@@ -1187,6 +1191,10 @@ namespace FEXCore::Context {
|
||||
if (DebugServer) {
|
||||
DebugServer->AlertLibrariesChanged();
|
||||
}
|
||||
|
||||
if (CodeObjectCacheService) {
|
||||
CodeObjectCacheService->AsyncRemoveNamedRegionJob(Base, Size);
|
||||
}
|
||||
}
|
||||
|
||||
void ConfigureAOTGen(FEXCore::Core::InternalThreadState *Thread, std::set<uint64_t> *ExternalBranches, uint64_t SectionMaxAddress) {
|
||||
|
||||
Reference in new issue
Block a user