mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
tcg: Constify tcg_op_defs
Now that we're no longer assigning to TCGOpDef.args_ct, we can make the array constant. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
501fb3da3f
commit
ed1a653bad
3 changed files with 3 additions and 3 deletions
|
@ -3364,7 +3364,7 @@ static void process_constraint_sets(void)
|
|||
|
||||
static const TCGArgConstraint *opcode_args_ct(const TCGOp *op)
|
||||
{
|
||||
TCGOpDef *def = &tcg_op_defs[op->opc];
|
||||
const TCGOpDef *def = &tcg_op_defs[op->opc];
|
||||
TCGConstraintSetIndex con_set;
|
||||
|
||||
if (def->nb_iargs + def->nb_oargs == 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue