Commit 9be0cc75 by Kazu Hirata Committed by Kazu Hirata

df-core.c (df_compact_blocks, [...]): Use SET_BASIC_BLOCK instead of BASIC_BLOCK.

	* df-core.c (df_compact_blocks, df_bb_replace): Use
	SET_BASIC_BLOCK instead of BASIC_BLOCK.

From-SVN: r109600
parent 95040644
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> 2006-01-11 Richard Guenther <rguenther@suse.de>
PR tree-optimization/25734 PR tree-optimization/25734
......
...@@ -792,7 +792,7 @@ df_compact_blocks (struct df *df) ...@@ -792,7 +792,7 @@ df_compact_blocks (struct df *df)
i = NUM_FIXED_BLOCKS; i = NUM_FIXED_BLOCKS;
FOR_EACH_BB (bb) FOR_EACH_BB (bb)
{ {
BASIC_BLOCK (i) = bb; SET_BASIC_BLOCK (i, bb);
bb->index = i; bb->index = i;
i++; i++;
} }
...@@ -800,7 +800,7 @@ df_compact_blocks (struct df *df) ...@@ -800,7 +800,7 @@ df_compact_blocks (struct df *df)
gcc_assert (i == n_basic_blocks); gcc_assert (i == n_basic_blocks);
for (; i < last_basic_block; i++) 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) ...@@ -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; new_block->index = old_index;
} }
......
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