]> git.proxmox.com Git - mirror_qemu.git/commit
tcg: Pass tb and index to tcg_gen_exit_tb separately
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 31 May 2018 01:06:23 +0000 (18:06 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 1 Jun 2018 22:15:27 +0000 (15:15 -0700)
commit07ea28b41830f946de3841b0ac61a3413679feb9
tree42c4837f1a3f06b76291c9cf8412914d2c27c346
parent392fba9f583223786f844dce9b2e7f9a0ce0147a
tcg: Pass tb and index to tcg_gen_exit_tb separately

Do the cast to uintptr_t within the helper, so that the compiler
can type check the pointer argument.  We can also do some more
sanity checking of the index argument.

Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
26 files changed:
include/exec/gen-icount.h
target/alpha/translate.c
target/arm/translate-a64.c
target/arm/translate.c
target/cris/translate.c
target/hppa/translate.c
target/i386/translate.c
target/lm32/translate.c
target/m68k/translate.c
target/microblaze/translate.c
target/mips/translate.c
target/moxie/translate.c
target/nios2/translate.c
target/openrisc/translate.c
target/ppc/translate.c
target/riscv/translate.c
target/s390x/translate.c
target/sh4/translate.c
target/sparc/translate.c
target/tilegx/translate.c
target/tricore/translate.c
target/unicore32/translate.c
target/xtensa/translate.c
tcg/tcg-op.c
tcg/tcg-op.h
tcg/tcg.h