diff options
author | Vladimir Makarov <vmakarov@redhat.com> | 2011-03-28 01:53:24 +0000 |
---|---|---|
committer | Vladimir Makarov <vmakarov@gcc.gnu.org> | 2011-03-28 01:53:24 +0000 |
commit | 99710245becabdfa97984d1f68a01f9876124417 (patch) | |
tree | 761665b37aeeeb5eb4e3f9b4770772ea49679cc0 /gcc/reginfo.c | |
parent | 0854e22029b6d45bc67140bf5d5493ee5c9294ef (diff) | |
download | gcc-99710245becabdfa97984d1f68a01f9876124417.tar.gz |
re PR bootstrap/48307 (Bootstrap failure)
2011-03-27 Vladimir Makarov <vmakarov@redhat.com>
PR bootstrap/48307
Revert the previous patch.
From-SVN: r171589
Diffstat (limited to 'gcc/reginfo.c')
-rw-r--r-- | gcc/reginfo.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/reginfo.c b/gcc/reginfo.c index 57a4329f166..83ac4499b51 100644 --- a/gcc/reginfo.c +++ b/gcc/reginfo.c @@ -890,9 +890,9 @@ struct reg_pref union of most major pair of classes, that generality is not required. */ char altclass; - /* allocnoclass is a register class that IRA uses for allocating + /* coverclass is a register class that IRA uses for allocating the pseudo. */ - char allocnoclass; + char coverclass; }; /* Record preferences of each pseudo. This is available after RA is @@ -925,12 +925,12 @@ reg_alternate_class (int regno) /* Return the reg_class which is used by IRA for its allocation. */ enum reg_class -reg_allocno_class (int regno) +reg_cover_class (int regno) { if (reg_pref == 0) return NO_REGS; - return (enum reg_class) reg_pref[regno].allocnoclass; + return (enum reg_class) reg_pref[regno].coverclass; } @@ -1027,18 +1027,18 @@ struct rtl_opt_pass pass_reginfo_init = /* Set up preferred, alternate, and cover classes for REGNO as - PREFCLASS, ALTCLASS, and ALLOCNOCLASS. */ + PREFCLASS, ALTCLASS, and COVERCLASS. */ void setup_reg_classes (int regno, enum reg_class prefclass, enum reg_class altclass, - enum reg_class allocnoclass) + enum reg_class coverclass) { if (reg_pref == NULL) return; gcc_assert (reg_info_size == max_reg_num ()); reg_pref[regno].prefclass = prefclass; reg_pref[regno].altclass = altclass; - reg_pref[regno].allocnoclass = allocnoclass; + reg_pref[regno].coverclass = coverclass; } |