Commit f85d8f69 by Nathan Sidwell Committed by Nathan Sidwell

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
parent a02def09
2004-12-16 Nathan Sidwell <nathan@codesourcery.com> 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. * doc/c-tree.texi (CONSTRUCTOR): Mention RANGE_EXPRs.
2004-12-16 Mark Dettinger <dettinge@de.ibm.com> 2004-12-16 Mark Dettinger <dettinge@de.ibm.com>
......
...@@ -1314,9 +1314,8 @@ block_alloc (int b) ...@@ -1314,9 +1314,8 @@ block_alloc (int b)
if (hard_reg != NULL_RTX) if (hard_reg != NULL_RTX)
{ {
if (REG_P (hard_reg) if (REG_P (hard_reg)
&& IN_RANGE (REGNO (hard_reg), && REGNO (hard_reg) < FIRST_PSEUDO_REGISTER
0, FIRST_PSEUDO_REGISTER - 1) && !call_used_regs[REGNO (hard_reg)])
&& ! call_used_regs[REGNO (hard_reg)])
continue; continue;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment