diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-16 10:33:40 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-16 10:33:40 +0000 |
commit | e0dde8f8f8975b893fb6604a17de35ca881e85e9 (patch) | |
tree | 681bd279155de09165d78fad8c1bda0ae8a5495f /gcc/local-alloc.c | |
parent | 9bc610b610152b60bbcdd789e96b72b1392035c3 (diff) | |
download | gcc-e0dde8f8f8975b893fb6604a17de35ca881e85e9.tar.gz |
* basic-block.h (rtl_bb_info): Break out head_, end_,
global_live_at_start, global_live_at_end from ...
(basic_block_def): ... here; update all references
(BB_RTL): New flag.
(init_rtl_bb_info): Declare.
* cfgexpand.c (expand_gimple_basic_block): Init bb info, set BB_RTL
flag.
* cfgrtl.c: Include ggc.h
(create_basic_block_structure): Init bb info.
(rtl_verify_flow_info_1): Check BB_RTL flag and rtl_bb_info pointer.
(init_rtl_bb_info): New function.
(rtl_merge_block, cfglayout_merge_block): Copy global_live_at_end here.
* cfghooks.c (merge_block): Do not copy global_live_at_end here.
* cfg.c (clear_bb_flags): Skip BB_RTL flag.
(dump_flow_info): Gueard global_live_* dumping.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101082 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/local-alloc.c')
-rw-r--r-- | gcc/local-alloc.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/gcc/local-alloc.c b/gcc/local-alloc.c index 78b2ede46d7..b993d35b474 100644 --- a/gcc/local-alloc.c +++ b/gcc/local-alloc.c @@ -1193,8 +1193,10 @@ update_equiv_regs (void) { FOR_EACH_BB (bb) { - AND_COMPL_REG_SET (bb->global_live_at_start, &cleared_regs); - AND_COMPL_REG_SET (bb->global_live_at_end, &cleared_regs); + AND_COMPL_REG_SET (bb->il.rtl->global_live_at_start, + &cleared_regs); + AND_COMPL_REG_SET (bb->il.rtl->global_live_at_end, + &cleared_regs); } } else @@ -1204,8 +1206,8 @@ update_equiv_regs (void) { FOR_EACH_BB (bb) { - CLEAR_REGNO_REG_SET (bb->global_live_at_start, j); - CLEAR_REGNO_REG_SET (bb->global_live_at_end, j); + CLEAR_REGNO_REG_SET (bb->il.rtl->global_live_at_start, j); + CLEAR_REGNO_REG_SET (bb->il.rtl->global_live_at_end, j); } } } @@ -1287,7 +1289,8 @@ block_alloc (int b) /* Initialize table of hardware registers currently live. */ - REG_SET_TO_HARD_REG_SET (regs_live, BASIC_BLOCK (b)->global_live_at_start); + REG_SET_TO_HARD_REG_SET (regs_live, + BASIC_BLOCK (b)->il.rtl->global_live_at_start); /* This loop scans the instructions of the basic block and assigns quantities to registers. |