aboutsummaryrefslogtreecommitdiff
path: root/gcc/hard-reg-set.h
diff options
context:
space:
mode:
authorBernd Schmidt <bernds@cygnus.co.uk>1999-12-13 13:21:35 +0000
committerBernd Schmidt <crux@gcc.gnu.org>1999-12-13 13:21:35 +0000
commitf5d8c9f4053985a3694c56239b2c6a08b416bfa5 (patch)
treed9cb4c6b8528afdab21ca0ece166d271c5e19197 /gcc/hard-reg-set.h
parent2cf4028a7c28adbbbcbda21a02bd851a140a8652 (diff)
downloadgcc-f5d8c9f4053985a3694c56239b2c6a08b416bfa5.zip
gcc-f5d8c9f4053985a3694c56239b2c6a08b416bfa5.tar.gz
gcc-f5d8c9f4053985a3694c56239b2c6a08b416bfa5.tar.bz2
Simplify reload register allocation
From-SVN: r30890
Diffstat (limited to 'gcc/hard-reg-set.h')
-rw-r--r--gcc/hard-reg-set.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/hard-reg-set.h b/gcc/hard-reg-set.h
index 8d1ca75..dd093db 100644
--- a/gcc/hard-reg-set.h
+++ b/gcc/hard-reg-set.h
@@ -429,10 +429,14 @@ extern HARD_REG_SET call_fixed_reg_set;
extern char global_regs[FIRST_PSEUDO_REGISTER];
+#ifdef REG_ALLOC_ORDER
/* Table of register numbers in the order in which to try to use them. */
-#ifdef REG_ALLOC_ORDER /* Avoid undef symbol in certain broken linkers. */
extern int reg_alloc_order[FIRST_PSEUDO_REGISTER];
+
+/* The inverse of reg_alloc_order. */
+
+extern int inv_reg_alloc_order[FIRST_PSEUDO_REGISTER];
#endif
/* For each reg class, a HARD_REG_SET saying which registers are in it. */