basic-block.h (struct basic_block_def): Reorder fields to eliminate interior padding.
authorZack Weinberg <zack@gcc.gnu.org>
Tue, 24 Aug 2004 16:46:32 +0000 (16:46 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Tue, 24 Aug 2004 16:46:32 +0000 (16:46 +0000)
commit076c7ab896de2d7f85e2b8b5771c599b7d01dea2
treea8c706cf283c42d5d4e89608fbc473e943519e99
parentae51017be07799ddc5570cb7b8697539743b6763
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
gcc/ChangeLog
gcc/basic-block.h
gcc/bb-reorder.c
gcc/cfgcleanup.c
gcc/cfglayout.c
gcc/cfgrtl.c
gcc/final.c
gcc/ifcvt.c
gcc/insn-notes.def
gcc/modulo-sched.c
gcc/sched-rgn.c