This is the mail archive of the cgen@sources.redhat.com mailing list for the CGEN project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFA] opc-asmdis.c patch


One more latent patch.  Okay to commit?

Ben

2003-01-09  Graydon Hoare  <graydon@redhat.com>

        * opc-asmdis.scm (-gen-init-asm-fn): Add CGEN_ASM_INIT_HOOK, since
        asm-init-code hook isn't terribly easy to use from .opc file.

Index: opc-asmdis.scm
===================================================================
RCS file: /cvs/src/src/cgen/opc-asmdis.scm,v
retrieving revision 1.3
diff -u -p -r1.3 opc-asmdis.scm
--- opc-asmdis.scm      25 Nov 2001 23:18:15 -0000      1.3
+++ opc-asmdis.scm      9 Jan 2003 03:35:01 -0000
@@ -72,6 +72,9 @@ void
   @arch@_cgen_init_ibld_table (cd);
   cd->parse_handlers = & @arch@_cgen_parse_handlers[0];
   cd->parse_operand = @arch@_cgen_parse_operand;
+#ifdef CGEN_ASM_INIT_HOOK
+CGEN_ASM_INIT_HOOK
+#endif
 "
    -asm-init-code
 "}\n\n"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]