]> git.proxmox.com Git - mirror_qemu.git/commit
tcg/i386: Adjust assert in tcg_out_addi_ptr
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 7 Apr 2023 19:00:22 +0000 (12:00 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 10 Apr 2023 15:29:24 +0000 (08:29 -0700)
commit7d9e1ee424b06a43708be02474e6714962cfee92
treeafd62a2a35eea0c3c4aff30af76a1ca7cb557b7c
parent08dede07030973c1053868bc64de7e10bfa02ad6
tcg/i386: Adjust assert in tcg_out_addi_ptr

We can arrive here on _WIN64 because Int128 is passed by reference.
Change the assert to check that the immediate is in range,
instead of attempting to check the host ABI.

Fixes: 6a6d772e30d ("tcg: Introduce tcg_out_addi_ptr")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1581
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/i386/tcg-target.c.inc