From 9be0d08019465b38e2f1a605960961a491430c21 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Thu, 3 Sep 2020 15:19:03 -0700 Subject: tcg: Drop union from TCGArgConstraint The union is unused; let "regs" appear in the main structure without the "u.regs" wrapping. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- include/tcg/tcg.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include/tcg/tcg.h') diff --git a/include/tcg/tcg.h b/include/tcg/tcg.h index 53ce94c2c5..a5a0ea4ada 100644 --- a/include/tcg/tcg.h +++ b/include/tcg/tcg.h @@ -985,9 +985,7 @@ void tcg_dump_op_count(void); typedef struct TCGArgConstraint { uint16_t ct; uint8_t alias_index; - union { - TCGRegSet regs; - } u; + TCGRegSet regs; } TCGArgConstraint; #define TCG_MAX_OP_ARGS 16 -- cgit v1.2.3-55-g7522