mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-02-24 13:15:07 -07: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
|
|
@ -716,7 +716,7 @@ typedef struct TCGOpDef {
|
|||
uint8_t flags;
|
||||
} TCGOpDef;
|
||||
|
||||
extern TCGOpDef tcg_op_defs[];
|
||||
extern const TCGOpDef tcg_op_defs[];
|
||||
extern const size_t tcg_op_defs_max;
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue