aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgrtl.c
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2013-12-09 20:02:33 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2013-12-09 20:02:33 +0000
commit557c4b493bcfbda45babb0752455798328849630 (patch)
tree28af56a0f26a4692c16613add501bc7186b7be8e /gcc/cfgrtl.c
parentea19eb9fba65626b303781048830f5db22a1cfa5 (diff)
downloadgcc-557c4b493bcfbda45babb0752455798328849630.zip
gcc-557c4b493bcfbda45babb0752455798328849630.tar.gz
gcc-557c4b493bcfbda45babb0752455798328849630.tar.bz2
Eliminate SET_BASIC_BLOCK macro.
gcc/ * basic-block.h (SET_BASIC_BLOCK): Eliminate macro. * cfg.c (compact_blocks): Replace uses of SET_BASIC_BLOCK with SET_BASIC_BLOCK_FOR_FN, making use of cfun explicit. (expunge_block): Likewise. * cfgrtl.c (create_basic_block_structure): Likewise. * df-core.c (df_compact_blocks, df_bb_replace): Likewise. * sel-sched.c (create_block_for_bookkeeping): Likewise. * tree-cfg.c (create_bb): Likewise. From-SVN: r205821
Diffstat (limited to 'gcc/cfgrtl.c')
-rw-r--r--gcc/cfgrtl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c
index 63f44af..045d78b 100644
--- a/gcc/cfgrtl.c
+++ b/gcc/cfgrtl.c
@@ -331,7 +331,7 @@ create_basic_block_structure (rtx head, rtx end, rtx bb_note, basic_block after)
bb->index = last_basic_block++;
bb->flags = BB_NEW | BB_RTL;
link_block (bb, after);
- SET_BASIC_BLOCK (bb->index, bb);
+ SET_BASIC_BLOCK_FOR_FN (cfun, bb->index, bb);
df_bb_refs_record (bb->index, false);
update_bb_for_insn (bb);
BB_SET_PARTITION (bb, BB_UNPARTITIONED);