unicorn/qemu/target
Alex Bennée 8e973e762d
target/*helper: don't check retaddr before calling cpu_restore_state
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
2018-03-05 14:47:41 -05:00
..
arm target/*helper: don't check retaddr before calling cpu_restore_state 2018-03-05 14:47:41 -05:00
i386 target/*helper: don't check retaddr before calling cpu_restore_state 2018-03-05 14:47:41 -05:00
m68k target/*helper: don't check retaddr before calling cpu_restore_state 2018-03-05 14:47:41 -05:00
mips qom: Introduce CPUClass.tcg_initialize 2018-03-05 09:49:26 -05:00
sparc qom: Introduce CPUClass.tcg_initialize 2018-03-05 09:49:26 -05:00