summaryrefslogtreecommitdiff
path: root/gcc/genopinit.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-09-12 12:46:08 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>1999-09-12 12:46:08 +0000
commit6357eaae5779649838519220018bd3f912036f24 (patch)
treec2582159a30e1f83f4d7b7bcd2806fb8331123b2 /gcc/genopinit.c
parentc23a82fe96b6e0344496b8c5d928989cb76f0bc5 (diff)
downloadgcc-6357eaae5779649838519220018bd3f912036f24.tar.gz
Replace insn_foo with insn_data.foo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29358 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genopinit.c')
-rw-r--r--gcc/genopinit.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/gcc/genopinit.c b/gcc/genopinit.c
index 249500549e9..ac4a5883e60 100644
--- a/gcc/genopinit.c
+++ b/gcc/genopinit.c
@@ -118,9 +118,6 @@ const char *optabs[] =
"movstr_optab[(int) %A] = CODE_FOR_%(movstr%a%)",
"clrstr_optab[(int) %A] = CODE_FOR_%(clrstr%a%)" };
-/* Allow linking with print-rtl.c. */
-char **insn_name_ptr;
-
static void gen_insn PROTO((rtx));
static void
@@ -363,3 +360,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;
+}