basic-block.h: Give the BB flags enum a name, bb_flags.
authorSteven Bosscher <stevenb@suse.de>
Mon, 11 Jul 2005 13:31:44 +0000 (13:31 +0000)
committerSteven Bosscher <steven@gcc.gnu.org>
Mon, 11 Jul 2005 13:31:44 +0000 (13:31 +0000)
commit2dd2d53e2c8c049a08ce582ee9354c884e5dd857
tree7833a753cbcf6ef3e68611482f64752ccc371262
parent8637038aa8da786fcb53e8192cf9dac20bc62ed5
basic-block.h: Give the BB flags enum a name, bb_flags.

* basic-block.h: Give the BB flags enum a name, bb_flags.
Add new flags BB_FORWARDER_BLOCK, and BB_NONTHREADABLE_BLOCK.
* cfgcleanup.c (enum bb_flags): Remove here.
(BB_FLAGS, BB_SET_FLAG, BB_CLEAR_FLAG): Remove.
(notice_new_block): Set/test bb->flags instead of aux via BB_FLAGS.
(update_forwarder_flag): Likewise.
(thread_jump): Likewise.
(try_forward_edges): Likewise.
(try_optimize_cfg): Likewise.  Clear bb->flags before updating the
forwarder flags.  Don't clear bb->aux for all basic blocks.  Only
reset the BB_FORWARDER_BLOCK and BB_NONTHREADABLE_BLOCK flags.

From-SVN: r101876
gcc/ChangeLog
gcc/basic-block.h
gcc/cfgcleanup.c