OSDN Git Service

[ opcodes/ChangeLog ]
authorgraydon <graydon>
Tue, 12 Feb 2002 14:51:54 +0000 (14:51 +0000)
committergraydon <graydon>
Tue, 12 Feb 2002 14:51:54 +0000 (14:51 +0000)
2002-02-12  Graydon Hoare  <graydon@redhat.com>

* cgen-asm.in (parse_insn_normal): Change call from
@arch@_cgen_parse_operand to cd->parse_operand, to
facilitate CGEN_ASM_INIT_HOOK doing useful work.

opcodes/ChangeLog
opcodes/cgen-asm.in

index a6a07e3..9a4ac0f 100644 (file)
@@ -1,3 +1,9 @@
+2002-02-12  Graydon Hoare  <graydon@redhat.com>
+
+       * cgen-asm.in (parse_insn_normal): Change call from
+       @arch@_cgen_parse_operand to cd->parse_operand, to 
+       facilitate CGEN_ASM_INIT_HOOK doing useful work.
+       
 2002-02-11  Alexandre Oliva  <aoliva@redhat.com>
 
        * sparc-dis.c (print_insn_sparc): Make sure 0xFFFFFFFF is not
index 475a4f1..525177c 100644 (file)
@@ -275,7 +275,7 @@ parse_insn_normal (cd, insn, strp, fields)
        }
 
       /* We have an operand of some sort.  */
-      errmsg = @arch@_cgen_parse_operand (cd, CGEN_SYNTAX_FIELD (*syn),
+      errmsg = cd->parse_operand (cd, CGEN_SYNTAX_FIELD (*syn),
                                          &str, fields);
       if (errmsg)
        return errmsg;