aboutsummaryrefslogtreecommitdiff
path: root/gcc/genextract.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/genextract.c')
-rw-r--r--gcc/genextract.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/gcc/genextract.c b/gcc/genextract.c
index 35ffbd0..eeaf52b 100644
--- a/gcc/genextract.c
+++ b/gcc/genextract.c
@@ -32,9 +32,6 @@ struct obstack *rtl_obstack = &obstack;
#define obstack_chunk_alloc xmalloc
#define obstack_chunk_free free
-/* Names for patterns. Need to allow linking with print-rtl. */
-char **insn_name_ptr;
-
/* This structure contains all the information needed to describe one
set of extractions methods. Each method may be used by more than
one pattern if the operands are in the same place.
@@ -527,3 +524,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;
+}