aboutsummaryrefslogtreecommitdiff
path: root/gcc/genemit.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/genemit.c')
-rw-r--r--gcc/genemit.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/gcc/genemit.c b/gcc/genemit.c
index bad78b5..6aec54a 100644
--- a/gcc/genemit.c
+++ b/gcc/genemit.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;
-
static int max_opno;
static int max_dup_opno;
static int max_scratch_opno;
@@ -867,3 +864,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;
+}