]> git.proxmox.com Git - mirror_qemu.git/commit
tcg/aarch64: Remove unused code in tcg_out_op
authorQi Hu <huqi@loongson.cn>
Mon, 17 Oct 2022 02:08:26 +0000 (10:08 +0800)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 25 Oct 2022 12:01:14 +0000 (22:01 +1000)
commit122167659c50958f98cb2a153de97541f03462ff
tree841c4977cc79ca0a6260e63d99cc9c199895aa3a
parentf072a1ae7fb47db75eb3c6b960759c908884f585
tcg/aarch64: Remove unused code in tcg_out_op

AArch64 defines the TCG_TARGET_HAS_direct_jump. So the "else" block is
useless in the case of "INDEX_op_goto_tb" in function "tcg_out_op". Add
an assertion and delete these codes for clarity.

Suggested-by: WANG Xuerui <git@xen0n.name>
Signed-off-by: Qi Hu <huqi@loongson.cn>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221017020826.990729-1-huqi@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/aarch64/tcg-target.c.inc