| 999 | } |
| 1000 | |
| 1001 | void ContextImpl::RemoveCustomIREntrypoint(FEXCore::Core::InternalThreadState* Thread, uintptr_t Entrypoint) { |
| 1002 | LOGMAN_THROW_A_FMT(Config.Is64BitMode || !(Entrypoint >> 32), "64-bit Entrypoint in 32-bit mode {:x}", Entrypoint); |
| 1003 | |
| 1004 | std::scoped_lock lk(CustomIRMutex); |
| 1005 | |
| 1006 | CustomIRHandlers.erase(Entrypoint); |
| 1007 | HasCustomIRHandlers = !CustomIRHandlers.empty(); |
| 1008 | SyscallHandler->InvalidateGuestCodeRange(Thread, Entrypoint, 1); |
| 1009 | } |
| 1010 | |
| 1011 | void ContextImpl::MonoBackpatcherWrite(FEXCore::Core::CpuStateFrame* Frame, uint8_t Size, uint64_t Address, uint64_t Value) { |
| 1012 | auto Thread = Frame->Thread; |
nothing calls this directly
no test coverage detected