tcg: Introduce tcg_type_size
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 19 Oct 2022 02:41:15 +0000 (12:41 +1000)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 5 Jan 2023 19:41:28 +0000 (11:41 -0800)
commit31c96417465b0ff32d6ec1ee8ef271c6e49ab5a3
tree170042c046b3b6146ef8d13dfcb6cb48c55e11f1
parent89496a85b4696b797e904a65a10b0600a95a12ec
tcg: Introduce tcg_type_size

Add a helper function for computing the size of a type.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
include/tcg/tcg.h
tcg/tcg.c