public inbox for cgen@sourceware.org
 help / color / mirror / Atom feed
* [RFA] opc-asmdis.c patch
@ 2003-01-09  3:37 Ben Elliston
  0 siblings, 0 replies; only message in thread
From: Ben Elliston @ 2003-01-09  3:37 UTC (permalink / raw)
  To: cgen

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"

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-01-09  3:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-09  3:37 [RFA] opc-asmdis.c patch Ben Elliston

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).