Use disassemble_info.private_data in place of insn_sets
authorAlan Modra <amodra@gmail.com>
Mon, 9 Dec 2019 12:16:26 +0000 (22:46 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 9 Dec 2019 22:34:15 +0000 (09:04 +1030)
commit103ebbc35cc1975442e1e6233207d8d7b2016556
tree8bb0547dd5e1709b30e6d36fd30215b74ad25bd5
parent6f0e0752309e3e3016a48db1672e3092c677020c
Use disassemble_info.private_data in place of insn_sets

No cgen target uses private_data.  This patch removes a
disassemble_info field that is only used by cgen, and instead uses
private_data.  It also removes a macro that is no longer used.

include/
* dis-asm.h (struct disassemble_info): Delete insn_sets.
(INIT_DISASSEMBLE_INFO_NO_ARCH): Don't define.
opcodes/
* cgen-dis.in (print_insn_@arch@): Replace insn_sets with private_data.
* disassemble.c (disassemble_init_for_target): Likewise.
* bpf-dis.c: Regenerate.
* epiphany-dis.c: Regenerate.
* fr30-dis.c: Regenerate.
* frv-dis.c: Regenerate.
* ip2k-dis.c: Regenerate.
* iq2000-dis.c: Regenerate.
* lm32-dis.c: Regenerate.
* m32c-dis.c: Regenerate.
* m32r-dis.c: Regenerate.
* mep-dis.c: Regenerate.
* mt-dis.c: Regenerate.
* or1k-dis.c: Regenerate.
* xc16x-dis.c: Regenerate.
* xstormy16-dis.c: Regenerate.
19 files changed:
include/ChangeLog
include/dis-asm.h
opcodes/ChangeLog
opcodes/bpf-dis.c
opcodes/cgen-dis.in
opcodes/disassemble.c
opcodes/epiphany-dis.c
opcodes/fr30-dis.c
opcodes/frv-dis.c
opcodes/ip2k-dis.c
opcodes/iq2000-dis.c
opcodes/lm32-dis.c
opcodes/m32c-dis.c
opcodes/m32r-dis.c
opcodes/mep-dis.c
opcodes/mt-dis.c
opcodes/or1k-dis.c
opcodes/xc16x-dis.c
opcodes/xstormy16-dis.c