mirror of
https://github.com/yuzu-mirror/unicorn.git
synced 2026-01-06 08:40:07 +01:00
cpu_restore_state officially supports being passed an address it can't resolve the state for. As a result the checks in the helpers are superfluous and can be removed. This makes the code consistent with other users of cpu_restore_state. Of course this does nothing to address what to do if cpu_restore_state can't resolve the state but so far it seems this is handled elsewhere. The change was made with included coccinelle script. Backports commit 65255e8efdd5fca602bcc4ff61a879939ff75f4f from qemu |
||
|---|---|---|
| .. | ||
| cpu-qom.h | ||
| cpu.c | ||
| cpu.h | ||
| fpu_helper.c | ||
| helper.c | ||
| helper.h | ||
| Makefile.objs | ||
| op_helper.c | ||
| qregs.def | ||
| translate.c | ||
| unicorn.c | ||
| unicorn.h | ||