diff options
author | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-12-16 16:48:23 +0000 |
---|---|---|
committer | nathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-12-16 16:48:23 +0000 |
commit | b225d49a05207e3af45250dd210a25786274c8dc (patch) | |
tree | 71be37ec90f9adc0ec2b7ee322ad04e9f329d03a /gcc/local-alloc.c | |
parent | 7576fda61518c0b1b02288f61171ca493286c17b (diff) | |
download | gcc-b225d49a05207e3af45250dd210a25786274c8dc.tar.gz |
* local-alloc.c (block_alloc): Replace IN_RANGE with simple
comparison.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92268 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/local-alloc.c')
-rw-r--r-- | gcc/local-alloc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/local-alloc.c b/gcc/local-alloc.c index 5d33f566b4f..10117da8adb 100644 --- a/gcc/local-alloc.c +++ b/gcc/local-alloc.c @@ -1314,9 +1314,8 @@ block_alloc (int b) if (hard_reg != NULL_RTX) { if (REG_P (hard_reg) - && IN_RANGE (REGNO (hard_reg), - 0, FIRST_PSEUDO_REGISTER - 1) - && ! call_used_regs[REGNO (hard_reg)]) + && REGNO (hard_reg) < FIRST_PSEUDO_REGISTER + && !call_used_regs[REGNO (hard_reg)]) continue; } |