qemu-arm
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] tcg/aarch64: Remove unused code in tcg_out_op


From: Richard Henderson
Subject: Re: [PATCH] tcg/aarch64: Remove unused code in tcg_out_op
Date: Mon, 17 Oct 2022 16:30:12 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2

On 10/17/22 12:08, Qi Hu wrote:
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>
---
  tcg/aarch64/tcg-target.c.inc | 31 ++++++++++++++-----------------
  1 file changed, 14 insertions(+), 17 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]