diff options
author | Nathan Froyd <froydnj@codesourcery.com> | 2010-08-10 14:31:52 +0000 |
---|---|---|
committer | Nathan Froyd <froydnj@gcc.gnu.org> | 2010-08-10 14:31:52 +0000 |
commit | a398224a884b8cdde4cf59c9b8f7045936c3cb82 (patch) | |
tree | 301b5f27e78b7c244b905f5001865ee219d11425 /gcc/cfg.c | |
parent | cefce34c6701df7ddd07ece4874465f9049b812c (diff) | |
download | gcc-a398224a884b8cdde4cf59c9b8f7045936c3cb82.zip gcc-a398224a884b8cdde4cf59c9b8f7045936c3cb82.tar.gz gcc-a398224a884b8cdde4cf59c9b8f7045936c3cb82.tar.bz2 |
basic-block.h (alloc_aux_for_block, [...]): Delete.
* basic-block.h (alloc_aux_for_block, alloc_aux_for_edge): Delete.
* cfg.c (alloc_aux_for_block, alloc_aux_for_edge): Make static.
(alloc_aux_for_blocks, clear_aux_for_blocks): Use FOR_ALL_BB.
From-SVN: r163066
Diffstat (limited to 'gcc/cfg.c')
-rw-r--r-- | gcc/cfg.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -735,7 +735,7 @@ static void *first_edge_aux_obj = 0; /* Allocate a memory block of SIZE as BB->aux. The obstack must be first initialized by alloc_aux_for_blocks. */ -void +static void alloc_aux_for_block (basic_block bb, int size) { /* Verify that aux field is clear. */ @@ -766,7 +766,7 @@ alloc_aux_for_blocks (int size) { basic_block bb; - FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR, NULL, next_bb) + FOR_ALL_BB (bb) alloc_aux_for_block (bb, size); } } @@ -778,7 +778,7 @@ clear_aux_for_blocks (void) { basic_block bb; - FOR_BB_BETWEEN (bb, ENTRY_BLOCK_PTR, NULL, next_bb) + FOR_ALL_BB (bb) bb->aux = NULL; } @@ -798,7 +798,7 @@ free_aux_for_blocks (void) /* Allocate a memory edge of SIZE as BB->aux. The obstack must be first initialized by alloc_aux_for_edges. */ -void +static void alloc_aux_for_edge (edge e, int size) { /* Verify that aux field is clear. */ |