This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
[RFA] opc-asmdis.c patch
- From: Ben Elliston <bje at redhat dot com>
- To: cgen at sources dot redhat dot com
- Date: 09 Jan 2003 14:37:01 +1100
- Subject: [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"