diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2020-09-03 15:19:03 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2020-10-08 05:57:32 -0500 |
commit | 9be0d08019465b38e2f1a605960961a491430c21 (patch) | |
tree | 1872fa73f3c6ac908d924141f0359dd32e441ade /include/tcg/tcg.h | |
parent | e2e7168a214b0ed98dc357bba96816486a289762 (diff) | |
download | qemu-9be0d08019465b38e2f1a605960961a491430c21.zip qemu-9be0d08019465b38e2f1a605960961a491430c21.tar.gz qemu-9be0d08019465b38e2f1a605960961a491430c21.tar.bz2 |
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é <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/tcg/tcg.h')
-rw-r--r-- | include/tcg/tcg.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/tcg/tcg.h b/include/tcg/tcg.h index 53ce94c..a5a0ea4 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 |