aboutsummaryrefslogtreecommitdiff
path: root/gcc/gencodes.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@cygnus.com>1999-09-12 05:46:08 -0700
committerRichard Henderson <rth@gcc.gnu.org>1999-09-12 05:46:08 -0700
commita995e389c4aed94fbfc35bd283ade7dd775add7c (patch)
treec2582159a30e1f83f4d7b7bcd2806fb8331123b2 /gcc/gencodes.c
parentddf16f18413b904c1b524e9d385aabd394fa5d7b (diff)
downloadgcc-a995e389c4aed94fbfc35bd283ade7dd775add7c.zip
gcc-a995e389c4aed94fbfc35bd283ade7dd775add7c.tar.gz
gcc-a995e389c4aed94fbfc35bd283ade7dd775add7c.tar.bz2
Replace insn_foo with insn_data.foo.
From-SVN: r29358
Diffstat (limited to 'gcc/gencodes.c')
-rw-r--r--gcc/gencodes.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/gcc/gencodes.c b/gcc/gencodes.c
index 23d0678..87f93ab 100644
--- a/gcc/gencodes.c
+++ b/gcc/gencodes.c
@@ -33,9 +33,6 @@ struct obstack *rtl_obstack = &obstack;
#define obstack_chunk_alloc xmalloc
#define obstack_chunk_free free
-/* Define this so we can link with print-rtl.o to get debug_rtx function. */
-char **insn_name_ptr = 0;
-
static int insn_code_number;
static void gen_insn PROTO((rtx));
@@ -142,3 +139,11 @@ from the machine description file `md'. */\n\n");
/* NOTREACHED */
return 0;
}
+
+/* Define this so we can link with print-rtl.o to get debug_rtx function. */
+const char *
+get_insn_name (code)
+ int code;
+{
+ return NULL;
+}