Skip to content

Commit

Permalink
Add QEMU_NORETURN to function cpu_io_recompile
Browse files Browse the repository at this point in the history
cpu_io_recompile terminates by calling either cpu_abort or
cpu_resume_from_signal which both never return.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
  • Loading branch information
stweil authored and blueswirl committed Apr 7, 2012
1 parent 38c30fb commit 4266717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exec-all.h
Expand Up @@ -87,7 +87,7 @@ int cpu_gen_code(CPUArchState *env, struct TranslationBlock *tb,
int cpu_restore_state(struct TranslationBlock *tb,
CPUArchState *env, uintptr_t searched_pc);
void QEMU_NORETURN cpu_resume_from_signal(CPUArchState *env1, void *puc);
void cpu_io_recompile(CPUArchState *env, void *retaddr);
void QEMU_NORETURN cpu_io_recompile(CPUArchState *env, void *retaddr);
TranslationBlock *tb_gen_code(CPUArchState *env,
target_ulong pc, target_ulong cs_base, int flags,
int cflags);
Expand Down

0 comments on commit 4266717

Please sign in to comment.