diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-11 20:25:09 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-11 20:25:09 +0000 |
commit | a9b9dcf44ab2890599533d4b7f5db0e5917f8649 (patch) | |
tree | af1f96ea91d94eb0a7510487aed90d581b974c94 /gcc/df-core.c | |
parent | 4ddaa7c66c74e5f943f2a94bd50ca116c22ef08b (diff) | |
download | gcc-a9b9dcf44ab2890599533d4b7f5db0e5917f8649.tar.gz |
* df-core.c (df_compact_blocks, df_bb_replace): Use
SET_BASIC_BLOCK instead of BASIC_BLOCK.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109600 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/df-core.c')
-rw-r--r-- | gcc/df-core.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/df-core.c b/gcc/df-core.c index aef38cb4354..59602dea291 100644 --- a/gcc/df-core.c +++ b/gcc/df-core.c @@ -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; } |