]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
df-core.c (df_compact_blocks, [...]): Use SET_BASIC_BLOCK instead of BASIC_BLOCK.
authorKazu Hirata <kazu@codesourcery.com>
Wed, 11 Jan 2006 20:25:09 +0000 (20:25 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Wed, 11 Jan 2006 20:25:09 +0000 (20:25 +0000)
* df-core.c (df_compact_blocks, df_bb_replace): Use
SET_BASIC_BLOCK instead of BASIC_BLOCK.

From-SVN: r109600

gcc/ChangeLog
gcc/df-core.c

index 3e700b7c9c2ae2b0695fa7924d1509dcbce47197..f361cc9cba8c651cca61aefdab67fa4e1f9b7b0b 100644 (file)
@@ -1,3 +1,8 @@
+2006-01-11  Kazu Hirata  <kazu@codesourcery.com>
+
+       * df-core.c (df_compact_blocks, df_bb_replace): Use
+       SET_BASIC_BLOCK instead of BASIC_BLOCK.
+
 2006-01-11  Richard Guenther  <rguenther@suse.de>
 
        PR tree-optimization/25734
index aef38cb43547852dd3ed5305743f97ab2fbe7157..59602dea2917265e8a5733aa3d411daab0883fbb 100644 (file)
@@ -792,7 +792,7 @@ df_compact_blocks (struct df *df)
   i = NUM_FIXED_BLOCKS;
   FOR_EACH_BB (bb) 
     {
-      BASIC_BLOCK (i) = bb;
+      SET_BASIC_BLOCK (i, bb);
       bb->index = i;
       i++;
     }
@@ -800,7 +800,7 @@ df_compact_blocks (struct df *df)
   gcc_assert (i == n_basic_blocks);
 
   for (; i < last_basic_block; i++)
-    BASIC_BLOCK (i) = NULL;
+    SET_BASIC_BLOCK (i, NULL);
 }
 
 
@@ -830,7 +830,7 @@ df_bb_replace (struct df *df, int old_index, basic_block new_block)
        }
     }
 
-  BASIC_BLOCK (old_index) = new_block;
+  SET_BASIC_BLOCK (old_index, new_block);
   new_block->index = old_index;
 }