]> git.proxmox.com Git - mirror_qemu.git/commit
tcg/i386: Move constraint type check to tcg_target_const_match
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 16 Oct 2020 21:26:30 +0000 (14:26 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 2 Feb 2021 22:11:49 +0000 (12:11 -1000)
commitc7c778b5b9b7865a3e7200805ac561c5d334b8d0
tree2cfbf9a063083c0888b9ceac9a2378058193ab75
parent2366c858f954959dbae039d5d0a515645bedf5eb
tcg/i386: Move constraint type check to tcg_target_const_match

Rather than check the type when filling in the constraint,
check it when matching the constant.  This removes the only
use of the type argument to target_parse_constraint.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/i386/tcg-target.c.inc