[CPU] Check for null when returning machine code ptr

This commit is contained in:
Herman S.
2025-10-17 10:15:46 +09:00
parent bf6e1a81eb
commit 7e0254b36c

View File

@@ -122,7 +122,6 @@ uint32_t GuestFunction::MapMachineCodeToGuestAddress(
uintptr_t host_address) const {
void* code = machine_code();
if (!code) {
assert_always("MapMachineCodeToGuestAddress called with no compiled code");
return address();
}
auto entry = LookupMachineCodeOffset(