AOTIR: Stop passing a mutex around. It's already guarded

This commit is contained in:
Ryan Houdek committed 2023-05-11 03:56:33 -07:00
1 parent ed69eb9f6f
commit 2fc529d5b7
3 files changed
+5 -9

No files matched your search

+1 -2
View File
@@ -158,9 +158,8 @@ class DummySyscallHandler: public FEXCore::HLE::SyscallHandler, public FEXCore::
}
// These are no-ops implementations of the SyscallHandler API
std::shared_mutex StubMutex;
FEXCore::HLE::AOTIRCacheEntryLookupResult LookupAOTIRCacheEntry(uint64_t GuestAddr) override {
return {0, 0, FHU::ScopedSignalMaskWithSharedLock {StubMutex}};
return {0, 0};
}
};