summaryrefslogtreecommitdiff
path: root/gcc/genpeep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/genpeep.c')
-rw-r--r--gcc/genpeep.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/gcc/genpeep.c b/gcc/genpeep.c
index b20c0365a3f..b9dae533f0a 100644
--- a/gcc/genpeep.c
+++ b/gcc/genpeep.c
@@ -31,9 +31,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;
-
/* While tree-walking an instruction pattern, we keep a chain
of these `struct link's to record how to get down to the
current position. In each one, POS is the operand number,
@@ -493,3 +490,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;
+}