OSDN Git Service

target/s390x: Use tcg_constant_* for DisasCompare
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 20 Feb 2023 18:40:27 +0000 (08:40 -1000)
committerThomas Huth <thuth@redhat.com>
Mon, 27 Feb 2023 08:15:39 +0000 (09:15 +0100)
commitf5d7b0e2e05526585e9cad9284ca265838fd1799
tree963dd3d04573670792a220110ee35eeb07adf608
parentf1ea739bd598db3d8801566ae86e4eb76ab44436
target/s390x: Use tcg_constant_* for DisasCompare

The a and b fields are not modified by the consumer,
and while we need not free a constant, tcg will quietly
ignore such frees, so free_compare need not be changed.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20230220184052.163465-3-richard.henderson@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
target/s390x/tcg/translate.c