Patchwork Use INCOMING_REGNO macro unconditionally in df-scan.c

login
register
mail settings
Submitter Eric Botcazou
Date June 30, 2011, 5:57 p.m.
Message ID <201106301957.34032.ebotcazou@adacore.com>
Download mbox | patch
Permalink /patch/102796/
State New
Headers show

Comments

Eric Botcazou - June 30, 2011, 5:57 p.m.
Like in other files, since defaults.h ensures that it is always defined.

Tested on i586-suse-linux, applied on the mainline.


2011-06-30  Eric Botcazou  <ebotcazou@adacore.com>

	* df-scan.c (df_get_entry_block_def_set): Use INCOMING_REGNO macro
	unconditionally.

Patch

Index: df-scan.c
===================================================================
--- df-scan.c	(revision 175621)
+++ df-scan.c	(working copy)
@@ -3733,14 +3733,8 @@  df_get_entry_block_def_set (bitmap entry
   bitmap_clear (entry_block_defs);
 
   for (i = 0; i < FIRST_PSEUDO_REGISTER; i++)
-    {
-      if (FUNCTION_ARG_REGNO_P (i))
-#ifdef INCOMING_REGNO
-	bitmap_set_bit (entry_block_defs, INCOMING_REGNO (i));
-#else
-	bitmap_set_bit (entry_block_defs, i);
-#endif
-    }
+    if (FUNCTION_ARG_REGNO_P (i))
+      bitmap_set_bit (entry_block_defs, INCOMING_REGNO (i));
 
   /* The always important stack pointer.  */
   bitmap_set_bit (entry_block_defs, STACK_POINTER_REGNUM);