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:
Jonathan Neuschäfer 2015-04-01 01:57:44 +02:00 committed by pancake
parent df489343ca
commit 98daac0ecd

View File

@ -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? */
};