]> git.proxmox.com Git - mirror_qemu.git/commit - target/arm/translate-a64.c
tcg: remove addr argument from lookup_tb_ptr
authorEmilio G. Cota <cota@braap.org>
Tue, 11 Jul 2017 21:06:48 +0000 (17:06 -0400)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 10 Oct 2017 14:37:10 +0000 (07:37 -0700)
commit7f11636dbee89b0e4d03e9e2b96e14649a7db778
tree440555ab6e73d7ed21ba19b0447cbeb22a1c94ac
parentd453ec78251d03cbd4ffc28dbf6070931c8ae469
tcg: remove addr argument from lookup_tb_ptr

It is unlikely that we will ever want to call this helper passing
an argument other than the current PC. So just remove the argument,
and use the pc we already get from cpu_get_tb_cpu_state.

This change paves the way to having a common "tb_lookup" function.

Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
12 files changed:
accel/tcg/tcg-runtime.c
accel/tcg/tcg-runtime.h
target/alpha/translate.c
target/arm/translate-a64.c
target/arm/translate.c
target/hppa/translate.c
target/i386/translate.c
target/mips/translate.c
target/s390x/translate.c
target/sh4/translate.c
tcg/tcg-op.c
tcg/tcg-op.h