mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 18:44:58 -06:00
target/i386: Mark some helpers as noreturn
Any helper that always raises an exception or interrupt, or simply exits to the main loop, can be so marked. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20210514151342.384376-35-richard.henderson@linaro.org>
This commit is contained in:
parent
8d6806c7dd
commit
b82055aece
5 changed files with 29 additions and 26 deletions
|
@ -22,7 +22,7 @@
|
|||
#include "exec/helper-proto.h"
|
||||
#include "helper-tcg.h"
|
||||
|
||||
void helper_single_step(CPUX86State *env)
|
||||
void QEMU_NORETURN helper_single_step(CPUX86State *env)
|
||||
{
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
check_hw_breakpoints(env, true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue