disas/riscv: Move rv_op_illegal to riscv.c
illegal is no longer used in other files. Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-ID: <20260812223142.349142-45-richard.henderson@linaro.org> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Richard Henderson committed
Aug 12, 2026 at 15:31 UTC
30bb96e570274aaa7aec6e4174ff686eee623692
2 files changed
+1
-5
disas/riscv.c
+1
-1
@@ -29,7 +29,7 @@
29
#include "disas/riscv-xlrbr.h"
30
31
typedef enum {
32
- /* 0 is reserved for rv_op_illegal. */
32
+ rv_op_illegal = 0,
33
rv_op_lui = 1,
34
rv_op_auipc = 2,
35
rv_op_jal = 3,
disas/riscv.h
-4
@@ -200,10 +200,6 @@ typedef struct {
200
uint8_t rlist;
201
} rv_decode;
202
203
-enum {
204
- rv_op_illegal = 0
205
-};
206
-
203
/* instruction formats */
204
205
#define rv_fmt_none "O\t"