aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-05-30 12:16:43 +0930
committerAlan Modra <amodra@gmail.com>2020-06-01 19:53:05 +0930
commit3c3d03769e4d6fea4c8ee97bf36a2ca7d572461c (patch)
treeeddc77e6487ff33c9276276ed52c42a95d5173b4 /opcodes
parent1313c56ef9a68b5b753b3148dc7e8b3a4bb2d8ff (diff)
downloadgdb-3c3d03769e4d6fea4c8ee97bf36a2ca7d572461c.zip
gdb-3c3d03769e4d6fea4c8ee97bf36a2ca7d572461c.tar.gz
gdb-3c3d03769e4d6fea4c8ee97bf36a2ca7d572461c.tar.bz2
Regen opcodes/bpf-desc.c
The last regen used an old version of cgen. * bpf-desc.c: Regenerate.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/bpf-desc.c16
2 files changed, 8 insertions, 12 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 15405a5..d842ab6 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2020-06-01 Alan Modra <amodra@gmail.com>
+
+ * bpf-desc.c: Regenerate.
+
2020-05-28 Jose E. Marchesi <jose.marchesi@oracle.com>
David Faust <david.faust@oracle.com>
diff --git a/opcodes/bpf-desc.c b/opcodes/bpf-desc.c
index ddd55b9..33683a2 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);
}