OSDN Git Service

tcg/tci: Hoist op_size checking into tci_args_*
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 30 Jan 2021 21:23:02 +0000 (13:23 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 17 Mar 2021 13:24:44 +0000 (07:24 -0600)
commit92bc4fad82c1fa2d19b0e6f592a47511f256e15a
treeb598da07dd1131459e5156c6fada835ba8612f72
parent63041ed25fac24b9b0271c6cbf5062f37a0e8c74
tcg/tci: Hoist op_size checking into tci_args_*

This performs the size check while reading the arguments,
which means that we don't have to arrange for it to be
done after the operation.  Which tidies all of the branches.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/tci.c