local-alloc.c (block_alloc): Replace IN_RANGE with simple comparison.

* local-alloc.c (block_alloc): Replace IN_RANGE with simple
	comparison.

From-SVN: r92268
This commit is contained in:
Nathan Sidwell 2004-12-16 16:48:23 +00:00 committed by Nathan Sidwell
parent a02def09c3
commit f85d8f6996
2 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,8 @@
2004-12-16 Nathan Sidwell <nathan@codesourcery.com>
* local-alloc.c (block_alloc): Replace IN_RANGE with simple
comparison.
* doc/c-tree.texi (CONSTRUCTOR): Mention RANGE_EXPRs.
2004-12-16 Mark Dettinger <dettinge@de.ibm.com>

View File

@ -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;
}