diff options
Diffstat (limited to 'gcc/stmt.c')
-rw-r--r-- | gcc/stmt.c | 17 |
1 files changed, 2 insertions, 15 deletions
@@ -6278,19 +6278,10 @@ emit_case_nodes (index, node, default_label, index_type) /* These routines are used by the loop unrolling code. They copy BLOCK trees so that the debugging info will be correct for the unrolled loop. */ -/* Indexed by block number, contains a pointer to the N'th block node. - - Allocated by the call to identify_blocks, then released after the call - to reorder_blocks in the function unroll_block_trees. */ - -static tree *block_vector; - void find_loop_tree_blocks () { - tree block = DECL_INITIAL (current_function_decl); - - block_vector = identify_blocks (block, get_insns ()); + identify_blocks (DECL_INITIAL (current_function_decl), get_insns ()); } void @@ -6298,9 +6289,5 @@ unroll_block_trees () { tree block = DECL_INITIAL (current_function_decl); - reorder_blocks (block_vector, block, get_insns ()); - - /* Release any memory allocated by identify_blocks. */ - if (block_vector) - free (block_vector); + reorder_blocks (block, get_insns ()); } |