Don't define these if they aren't used by LLVM
llvm-svn: 46341
diff --git a/llvm-gcc-4.2/gcc/regclass.c b/llvm-gcc-4.2/gcc/regclass.c
index b11747a..57390ad 100644
--- a/llvm-gcc-4.2/gcc/regclass.c
+++ b/llvm-gcc-4.2/gcc/regclass.c
@@ -167,6 +167,8 @@
unsigned int reg_class_size[N_REG_CLASSES];
+/* LLVM LOCAL */
+#ifndef ENABLE_LLVM
/* For each reg class, table listing all the containing classes. */
static enum reg_class reg_class_superclasses[N_REG_CLASSES][N_REG_CLASSES];
@@ -174,6 +176,8 @@
/* For each reg class, table listing all the classes contained in it. */
static enum reg_class reg_class_subclasses[N_REG_CLASSES][N_REG_CLASSES];
+/* LLVM LOCAL */
+#endif
/* For each pair of reg classes,
a largest reg class contained in their union. */