diff options
Diffstat (limited to 'opcodes/mep-desc.c')
-rw-r--r-- | opcodes/mep-desc.c | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/opcodes/mep-desc.c b/opcodes/mep-desc.c index b776817..305f744 100644 --- a/opcodes/mep-desc.c +++ b/opcodes/mep-desc.c @@ -6386,18 +6386,10 @@ mep_cgen_cpu_close (CGEN_CPU_DESC cd) regfree (CGEN_INSN_RX (insns)); } - if (cd->macro_insn_table.init_entries) - free ((CGEN_INSN *) cd->macro_insn_table.init_entries); - - if (cd->insn_table.init_entries) - free ((CGEN_INSN *) cd->insn_table.init_entries); - - if (cd->hw_table.entries) - free ((CGEN_HW_ENTRY *) cd->hw_table.entries); - - if (cd->operand_table.entries) - free ((CGEN_HW_ENTRY *) cd->operand_table.entries); - + free ((CGEN_INSN *) cd->macro_insn_table.init_entries); + free ((CGEN_INSN *) cd->insn_table.init_entries); + free ((CGEN_HW_ENTRY *) cd->hw_table.entries); + free ((CGEN_HW_ENTRY *) cd->operand_table.entries); free (cd); } |