Move all global state data into opcode table struct, and treat
authorDoug Evans <dje@google.com>
Mon, 3 Aug 1998 19:29:51 +0000 (19:29 +0000)
committerDoug Evans <dje@google.com>
Mon, 3 Aug 1998 19:29:51 +0000 (19:29 +0000)
commit329af45931b37e0f6192e075fcfd98de0c13f8c8
tree0fdf19f218d896d0c8023c40ad765d63ac2814b6
parent39813256daae11c10665f4dd2475e8eccec31947
Move all global state data into opcode table struct, and treat
opcode table as something that is "opened/closed".
* cgen.h (CGEN_OPCODE_DESC): New type.
(all fns): New first arg of opcode table descriptor.
(cgen_set_parse_operand_fn): Add prototype.
(cgen_current_machine,cgen_current_endian): Delete.
(CGEN_OPCODE_TABLE): New members mach,endian,operand_table,
parse_operand_fn,asm_hash_table,asm_hash_table_entries,
dis_hash_table,dis_hash_table_entries.
(opcode_open,opcode_close): Add prototypes.

* cgen.h (cgen_insn): New element `cdx'.
include/opcode/ChangeLog
include/opcode/cgen.h
This page took 0.024522 seconds and 4 git commands to generate.