diff options
author | Zack Weinberg <zack@gcc.gnu.org> | 2002-12-16 18:23:00 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2002-12-16 18:23:00 +0000 |
commit | 4977bab6ed59f01c73f9c8b9e92298706df9b6d5 (patch) | |
tree | c259697c448b0c6f548f153c48c46a8d7a75970f /gcc/global.c | |
parent | b51dc045004ee7eb8d2bf4358ddf22a6cc6c1d00 (diff) | |
download | gcc-4977bab6ed59f01c73f9c8b9e92298706df9b6d5.zip gcc-4977bab6ed59f01c73f9c8b9e92298706df9b6d5.tar.gz gcc-4977bab6ed59f01c73f9c8b9e92298706df9b6d5.tar.bz2 |
Merge basic-improvements-branch to trunk
From-SVN: r60174
Diffstat (limited to 'gcc/global.c')
-rw-r--r-- | gcc/global.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/gcc/global.c b/gcc/global.c index 471e42e..3b2334f 100644 --- a/gcc/global.c +++ b/gcc/global.c @@ -22,6 +22,8 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include "config.h" #include "system.h" +#include "coretypes.h" +#include "tm.h" #include "machmode.h" #include "hard-reg-set.h" @@ -1363,15 +1365,9 @@ record_conflicts (allocno_vec, len) int *allocno_vec; int len; { - int num; - int ialloc_prod; - while (--len >= 0) - { - num = allocno_vec[len]; - ialloc_prod = num * allocno_row_words; - IOR_HARD_REG_SET (allocno[num].hard_reg_conflicts, hard_regs_live); - } + IOR_HARD_REG_SET (allocno[allocno_vec[len]].hard_reg_conflicts, + hard_regs_live); } /* If CONFLICTP (i, j) is true, make sure CONFLICTP (j, i) is also true. */ |