qemu-e2k/scripts/coccinelle
Alex Bennée 65255e8efd 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.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
[rth: Fixed up comment indentation.  Added second hunk to script to
combine cpu_restore_state and cpu_loop_exit.]
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2017-12-27 17:20:44 -08:00
..
cpu_restore_state.cocci target/*helper: don't check retaddr before calling cpu_restore_state 2017-12-27 17:20:44 -08:00
err-bad-newline.cocci error: Strip trailing '\n' from error string arguments (again) 2016-08-08 09:00:44 +02:00
error_propagate_null.cocci error: Remove NULL checks on error_propagate() calls 2016-06-20 16:38:13 +02:00
memory-region-init-ram.cocci scripts/coccinelle/memory-region-init-ram.cocci: New script 2017-07-14 17:59:42 +01:00
overflow_muldiv64.cocci
qobject.cocci qapi/qlist: Add qlist_append_null() macro 2017-11-17 18:21:30 +01:00
remove_local_err.cocci error: Remove unnecessary local_err variables 2016-06-20 16:38:13 +02:00
remove_muldiv64.cocci
return_directly.cocci coccinelle: fix typo in comment 2017-06-07 14:38:44 +01:00
round.cocci
simplify_muldiv64.cocci
swap_muldiv64.cocci
tcg_gen_extract.cocci coccinelle: add a script to optimize tcg op using tcg_gen_extract() 2017-07-19 14:45:15 -07:00
typecast.cocci coccinelle: add a script to remove useless casts 2016-09-15 15:32:22 +03:00