mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 02:54:58 -06:00
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>
This commit is contained in:
parent
e2e7168a21
commit
9be0d08019
11 changed files with 91 additions and 93 deletions
|
@ -393,7 +393,7 @@ static const char *target_parse_constraint(TCGArgConstraint *ct,
|
|||
case 'L': /* qemu_ld constraint */
|
||||
case 'S': /* qemu_st constraint */
|
||||
ct->ct |= TCG_CT_REG;
|
||||
ct->u.regs = BIT(TCG_TARGET_NB_REGS) - 1;
|
||||
ct->regs = BIT(TCG_TARGET_NB_REGS) - 1;
|
||||
break;
|
||||
default:
|
||||
return NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue