diff options
author | vmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-24 23:35:16 +0000 |
---|---|---|
committer | vmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-24 23:35:16 +0000 |
commit | abcb15b554bc411df2c53e701631ffd876695191 (patch) | |
tree | 68387c966165122623671a774099ac7fbaa2e4b0 /gcc/ira.c | |
parent | d14bd7259ecc8b10fda51f68c273854cbfadcb40 (diff) | |
download | gcc-abcb15b554bc411df2c53e701631ffd876695191.tar.gz |
2009-04-24 Vladimir Makarov <vmakarov@redhat.com>
* genpreds.c (write_enum_constraint_num): Output definition of
CONSTRAINT_NUM_DEFINED_P macro.
* ira.c (setup_cover_and_important_classes): Use
CONSTRAINT_NUM_DEFINED_P instead of CONSTRAINT__LIMIT in #ifdef.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146748 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ira.c')
-rw-r--r-- | gcc/ira.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ira.c b/gcc/ira.c index 1b8c84b9c94..14e9d9e478f 100644 --- a/gcc/ira.c +++ b/gcc/ira.c @@ -754,7 +754,7 @@ setup_cover_and_important_classes (void) { if (i == NO_REGS) continue; -#ifdef CONSTRAINT__LIMIT +#ifdef CONSTRAINT_NUM_DEFINED_P for (j = 0; j < CONSTRAINT__LIMIT; j++) if ((int) regclass_for_constraint ((enum constraint_num) j) == i) break; |