mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-24 22:26:01 +00:00
lh5801: use char[4] instead of const char* for mnemonics
This only saves around 200 bytes on the stripped .o file, so no big gain.
This commit is contained in:
parent
df489343ca
commit
98daac0ecd
@ -89,9 +89,8 @@ enum lh5801_insn_class {
|
||||
|
||||
/* Instruction description. */
|
||||
struct lh5801_insn_class_desc {
|
||||
/* Assembler mnemonic and description (for ?d) */
|
||||
const char *mnem;
|
||||
const char *desc;
|
||||
char mnem[4]; /* Assembler mnemonic */
|
||||
const char *desc; /* Textual description (for ?d) */
|
||||
|
||||
/* TODO: r2 insn type? */
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user