diff options
author | Michael Matz <matz@suse.de> | 2012-05-08 15:54:13 +0000 |
---|---|---|
committer | Michael Matz <matz@gcc.gnu.org> | 2012-05-08 15:54:13 +0000 |
commit | bcc708fcdc60c6b4485b1796ac1ba61c5f56b0b3 (patch) | |
tree | 6c299e917ec2a3f887c9fedcefdf3a151c51eebb /gcc/jump.c | |
parent | 88231ff68197c2c22f33e1a8ba251bc0b02b1f2d (diff) | |
download | gcc-bcc708fcdc60c6b4485b1796ac1ba61c5f56b0b3.zip gcc-bcc708fcdc60c6b4485b1796ac1ba61c5f56b0b3.tar.gz gcc-bcc708fcdc60c6b4485b1796ac1ba61c5f56b0b3.tar.bz2 |
basic-block.h (struct rtl_bb_info): Remove visited member and move head_ member to ...
* basic-block.h (struct rtl_bb_info): Remove visited member and
move head_ member to ...
(struct basic_block_def.basic_block_il_dependent): ... the new
member x, replacing but containing old member rtl.
(enum bb_flags): New BB_VISITED flag.
(BB_HEADER, BB_FOOTER): New macros.
* jump.c (mark_all_labels): Adjust.
* cfgcleanup.c (try_optimize_cfg): Adjust.
* cfglayout.c (record_effective_endpoints): Adjust.
(relink_block_chain): Ditto (and don't fiddle with visited).
(fixup_reorder_chain): Adjust.
(fixup_fallthru_exit_predecessor): Ditto.
(cfg_layout_duplicate_bb): Ditto.
* combine.c (update_cfg_for_uncondjump): Adjust.
* bb-reorder.c (struct bbro_basic_block_data_def): Add visited
member.
(bb_visited_trace): New accessor.
(mark_bb_visited): Move in front.
(rotate_loop): Use bb_visited_trace.
(find_traces_1_round): Ditto.
(emit_barrier_after): Ditto.
(copy_bb): Ditto, and initialize visited on resize.
(reorder_basic_blocks): Initize visited member.
(duplicate_computed_gotos): Clear bb flags at start, use
BB_VISITED flags.
* cfgrtl.c (try_redirect_by_replacing_jump): Adjust.
(rtl_verify_flow_info_1): Ditto.
(cfg_layout_split_block): Ditto.
(cfg_layout_delete_block): Ditto.
(cfg_layout_merge_blocks): Ditto.
(init_rtl_bb_info): Adjust and initialize il.x.head_ member.
From-SVN: r187288
Diffstat (limited to 'gcc/jump.c')
-rw-r--r-- | gcc/jump.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -275,13 +275,13 @@ mark_all_labels (rtx f) /* In cfglayout mode, there may be non-insns between the basic blocks. If those non-insns represent tablejump data, they contain label references that we must record. */ - for (insn = bb->il.rtl->header; insn; insn = NEXT_INSN (insn)) + for (insn = BB_HEADER (bb); insn; insn = NEXT_INSN (insn)) if (INSN_P (insn)) { gcc_assert (JUMP_TABLE_DATA_P (insn)); mark_jump_label (PATTERN (insn), insn, 0); } - for (insn = bb->il.rtl->footer; insn; insn = NEXT_INSN (insn)) + for (insn = BB_FOOTER (bb); insn; insn = NEXT_INSN (insn)) if (INSN_P (insn)) { gcc_assert (JUMP_TABLE_DATA_P (insn)); |