From 3c3d03769e4d6fea4c8ee97bf36a2ca7d572461c Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sat, 30 May 2020 12:16:43 +0930 Subject: [PATCH] Regen opcodes/bpf-desc.c The last regen used an old version of cgen. * bpf-desc.c: Regenerate. --- opcodes/ChangeLog | 4 ++++ opcodes/bpf-desc.c | 16 ++++------------ 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 15405a52157..d842ab64672 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,7 @@ +2020-06-01 Alan Modra + + * bpf-desc.c: Regenerate. + 2020-05-28 Jose E. Marchesi David Faust diff --git a/opcodes/bpf-desc.c b/opcodes/bpf-desc.c index ddd55b9fb65..33683a2f545 100644 --- a/opcodes/bpf-desc.c +++ b/opcodes/bpf-desc.c @@ -1831,18 +1831,10 @@ bpf_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); } -- 2.30.2