]> gcc.gnu.org Git - gcc.git/commitdiff
local-alloc.c (block_alloc): Replace IN_RANGE with simple comparison.
authorNathan Sidwell <nathan@codesourcery.com>
Thu, 16 Dec 2004 16:48:23 +0000 (16:48 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Thu, 16 Dec 2004 16:48:23 +0000 (16:48 +0000)
* local-alloc.c (block_alloc): Replace IN_RANGE with simple
comparison.

From-SVN: r92268

gcc/ChangeLog
gcc/local-alloc.c

index deba4c745dd06479e84285d62c238f347280d586..69f6f97b0e17e8e85d96028fd0e06f7e5172f622 100644 (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>
index 5d33f566b4f805ffd14054fb69f6d70ae692aa28..10117da8adb4a0f14f3b0efb6771f52065988607 100644 (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;
                    }
 
This page took 0.0767099999999999 seconds and 5 git commands to generate.