diff options
author | Emilio G. Cota | 2017-07-11 23:06:48 +0200 |
---|---|---|
committer | Richard Henderson | 2017-10-10 16:37:10 +0200 |
commit | 7f11636dbee89b0e4d03e9e2b96e14649a7db778 (patch) | |
tree | 440555ab6e73d7ed21ba19b0447cbeb22a1c94ac /target/alpha/translate.c | |
parent | tcg/mips: constify tcg_target_callee_save_regs (diff) | |
download | qemu-7f11636dbee89b0e4d03e9e2b96e14649a7db778.tar.gz qemu-7f11636dbee89b0e4d03e9e2b96e14649a7db778.tar.xz qemu-7f11636dbee89b0e4d03e9e2b96e14649a7db778.zip |
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>
Diffstat (limited to 'target/alpha/translate.c')
-rw-r--r-- | target/alpha/translate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/alpha/translate.c b/target/alpha/translate.c index 5a92c4accb..f32c95b9a1 100644 --- a/target/alpha/translate.c +++ b/target/alpha/translate.c @@ -3029,7 +3029,7 @@ static void alpha_tr_tb_stop(DisasContextBase *dcbase, CPUState *cpu) /* FALLTHRU */ case DISAS_PC_UPDATED: if (!use_exit_tb(ctx)) { - tcg_gen_lookup_and_goto_ptr(cpu_pc); + tcg_gen_lookup_and_goto_ptr(); break; } /* FALLTHRU */ |