diff options
author | Zack Weinberg <zack@gcc.gnu.org> | 2004-08-24 16:46:32 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2004-08-24 16:46:32 +0000 |
commit | 076c7ab896de2d7f85e2b8b5771c599b7d01dea2 (patch) | |
tree | a8c706cf283c42d5d4e89608fbc473e943519e99 /gcc/ifcvt.c | |
parent | ae51017be07799ddc5570cb7b8697539743b6763 (diff) | |
download | gcc-076c7ab896de2d7f85e2b8b5771c599b7d01dea2.zip gcc-076c7ab896de2d7f85e2b8b5771c599b7d01dea2.tar.gz gcc-076c7ab896de2d7f85e2b8b5771c599b7d01dea2.tar.bz2 |
basic-block.h (struct basic_block_def): Reorder fields to eliminate interior padding.
* basic-block.h (struct basic_block_def): Reorder fields to
eliminate interior padding. Remove 'partition' field.
(BB_DISABLE_SCHEDULE, BB_HOT_PARTITION, BB_COLD_PARTITION)
(BB_UNPARTITIONED, BB_PARTITION, BB_SET_PARTITION)
(BB_COPY_PARTITION): New macros.
* bb-reorder.c, cfgcleanup.c, cfglayout.c, cfgrtl.c, ifcvt.c
Replace all references to the 'partition' field of a basic
block with new macros.
* insn-notes.def: Delete NOTE_INSN_DISABLE_SCHED_OF_BLOCK.
* final.c (final_scan_insn): Don't handle it.
* modulo-sched.c: Set BB_DISABLE_SCHEDULE flag on g->bb
instead of emitting a NOTE_INSN_DISABLE_SCHED_OF_BLOCK note.
* sched-rgn.c (sched_is_disabled_for_current_region_p):
Look for a BB_DISABLE_SCHEDULE flag on the block instead of a note.
From-SVN: r86495
Diffstat (limited to 'gcc/ifcvt.c')
-rw-r--r-- | gcc/ifcvt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ifcvt.c b/gcc/ifcvt.c index 4b150d0..1af0427 100644 --- a/gcc/ifcvt.c +++ b/gcc/ifcvt.c @@ -2909,7 +2909,8 @@ find_if_case_1 (basic_block test_bb, edge then_edge, edge else_edge) { new_bb->index = then_bb_index; BASIC_BLOCK (then_bb_index) = new_bb; - new_bb->partition = test_bb->partition; + /* ??? Should be then_bb? */ + BB_COPY_PARTITION (new_bb, test_bb); } /* We've possibly created jump to next insn, cleanup_cfg will solve that later. */ |