diff options
author | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-01-15 16:06:17 +0000 |
---|---|---|
committer | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-01-15 16:06:17 +0000 |
commit | ada8adad9fb17daa49f9e6bcb063739579c82446 (patch) | |
tree | 122e9687be647e2b1f0b34ecee7bb59c9eb26914 /gcc/hard-reg-set.h | |
parent | 79b312b68fe06a7b882f496b12f9d452b593f3e2 (diff) | |
download | gcc-ada8adad9fb17daa49f9e6bcb063739579c82446.tar.gz |
* harg-reg-set.h (reg_class_names): Prototype global array.
* regclass.c (reg_class_names): Declare here and initialize to
REG_CLASS_NAMES.
(dump_regclass): Remove local declaration of reg_class_names.
(regclass): Likewise.
* cfg.c (dump_flow_info): Likewise.
* ra-debug.c (reg_class_names): Likewise.
* regrename.c (reg_class_names): Likewise.
* reload.c (reg_class_names): Likewise.
* reload1.c (spill_failure): Likewise.
* config/m68hc11/m68hc11.c (reg_class_names): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93696 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/hard-reg-set.h')
-rw-r--r-- | gcc/hard-reg-set.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/hard-reg-set.h b/gcc/hard-reg-set.h index b4654b17039..c78527e4cf6 100644 --- a/gcc/hard-reg-set.h +++ b/gcc/hard-reg-set.h @@ -1,5 +1,5 @@ /* Sets (bit vectors) of hard registers, and operations on them. - Copyright (C) 1987, 1992, 1994, 2000, 2003, 2004 + Copyright (C) 1987, 1992, 1994, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. This file is part of GCC @@ -490,6 +490,10 @@ extern int n_non_fixed_regs; extern const char * reg_names[FIRST_PSEUDO_REGISTER]; +/* Vector indexed by reg class giving its name. */ + +extern const char * reg_class_names[]; + /* Given a hard REGN a FROM mode and a TO mode, return nonzero if REGN cannot change modes between the specified modes. */ #define REG_CANNOT_CHANGE_MODE_P(REGN, FROM, TO) \ |