OSDN Git Service

2007-05-02 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / df.h
index c27bbdc..d8789b9 100644 (file)
--- a/gcc/df.h
+++ b/gcc/df.h
@@ -214,7 +214,7 @@ struct dataflow
   /* The pool to allocate the block_info from. */
   alloc_pool block_pool;                
 
-  /* Problem specific control infomation.  */
+  /* Problem specific control information.  */
 
   /* Scanning flags.  */
 #define DF_HARD_REGS        1  /* Mark hard registers.  */
@@ -323,9 +323,9 @@ struct df_ref_info
   unsigned int refs_size;       /* Size of currently allocated refs table.  */
   unsigned int bitmap_size;    /* Number of refs seen.  */
 
-  /* True if refs table is organized so that every reference for a
+  /* >0 if refs table is organized so that every reference for a
      pseudo is contiguous.  */
-  bool refs_organized;
+  unsigned int refs_organized_size;
   /* True if the next refs should be added immediately or false to
      defer to later to reorganize the table.  */
   bool add_refs_inline; 
@@ -433,10 +433,10 @@ struct df
                                || DF_REF_REG_MEM_LOAD_P (REF))
 
 /* Macros to get the refs out of def_info or use_info refs table.  */
-#define DF_DEFS_SIZE(DF) ((DF)->def_info.bitmap_size)
+#define DF_DEFS_SIZE(DF) ((DF)->def_info.refs_organized_size)
 #define DF_DEFS_GET(DF,ID) ((DF)->def_info.refs[(ID)])
 #define DF_DEFS_SET(DF,ID,VAL) ((DF)->def_info.refs[(ID)]=(VAL))
-#define DF_USES_SIZE(DF) ((DF)->use_info.bitmap_size)
+#define DF_USES_SIZE(DF) ((DF)->use_info.refs_organized_size)
 #define DF_USES_GET(DF,ID) ((DF)->use_info.refs[(ID)])
 #define DF_USES_SET(DF,ID,VAL) ((DF)->use_info.refs[(ID)]=(VAL))
 
@@ -502,7 +502,7 @@ struct df_ru_bb_info
      sparse_kill, each register gets a slot and a 1 in this bitvector
      means that all of the uses of that register are killed.  This is
      a very useful efficiency hack in that it keeps from having push
-     around big groups of 1s.  This is implemened by the
+     around big groups of 1s.  This is implemented by the
      bitmap_clear_range call.  */
 
   bitmap kill;
@@ -562,7 +562,7 @@ struct df_urec_bb_info
 {
   /* Local sets to describe the basic blocks.  */
   bitmap earlyclobber;  /* The set of registers that are referenced
-                          with an an early clobber mode.  */
+                          with an early clobber mode.  */
   /* Kill and gen are defined as in the UR problem.  */
   bitmap kill;
   bitmap gen;