diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-04 13:18:16 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-04 13:18:16 +0000 |
commit | d4d93ea0e6c9386f859ee146d71ab12ad94d384c (patch) | |
tree | 05b66a744368d3e0e720ad4d78170994935ecc01 | |
parent | fb871e926238d74ed1993ab112d8e33e68006d4a (diff) | |
download | gcc-d4d93ea0e6c9386f859ee146d71ab12ad94d384c.tar.gz |
Fix some too-long lines and move a comment.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87086 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/lcm.c | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/gcc/lcm.c b/gcc/lcm.c index 5062356c39b..3432332a06a 100644 --- a/gcc/lcm.c +++ b/gcc/lcm.c @@ -290,10 +290,11 @@ compute_laterin (struct edge_list *edge_list, sbitmap *earliest, *qin++ = bb; bb->aux = bb; } - qin = worklist; + /* Note that we do not use the last allocated element for our queue, as EXIT_BLOCK is never inserted into it. In fact the above allocation of n_basic_blocks + 1 elements is not necessary. */ + qin = worklist; qend = &worklist[n_basic_blocks]; qlen = n_basic_blocks; @@ -310,7 +311,8 @@ compute_laterin (struct edge_list *edge_list, sbitmap *earliest, /* Compute the intersection of LATERIN for each incoming edge to B. */ sbitmap_ones (laterin[bb->index]); for (e = bb->pred; e != NULL; e = e->pred_next) - sbitmap_a_and_b (laterin[bb->index], laterin[bb->index], later[(size_t)e->aux]); + sbitmap_a_and_b (laterin[bb->index], laterin[bb->index], + later[(size_t)e->aux]); /* Calculate LATER for all outgoing edges. */ for (e = bb->succ; e != NULL; e = e->succ_next) @@ -354,7 +356,8 @@ compute_insert_delete (struct edge_list *edge_list, sbitmap *antloc, basic_block bb; FOR_EACH_BB (bb) - sbitmap_difference (delete[bb->index], antloc[bb->index], laterin[bb->index]); + sbitmap_difference (delete[bb->index], antloc[bb->index], + laterin[bb->index]); for (x = 0; x < NUM_EDGES (edge_list); x++) { @@ -526,7 +529,8 @@ compute_available (sbitmap *avloc, sbitmap *kill, sbitmap *avout, sbitmap_intersection_of_preds (avin[bb->index], avout, bb->index); } - if (sbitmap_union_of_diff_cg (avout[bb->index], avloc[bb->index], avin[bb->index], kill[bb->index])) + if (sbitmap_union_of_diff_cg (avout[bb->index], avloc[bb->index], + avin[bb->index], kill[bb->index])) /* If the out state of this block changed, then we need to add the successors of this block to the worklist if they are not already on the worklist. */ @@ -683,7 +687,8 @@ compute_rev_insert_delete (struct edge_list *edge_list, sbitmap *st_avloc, basic_block bb; FOR_EACH_BB (bb) - sbitmap_difference (delete[bb->index], st_avloc[bb->index], nearerout[bb->index]); + sbitmap_difference (delete[bb->index], st_avloc[bb->index], + nearerout[bb->index]); for (x = 0; x < NUM_EDGES (edge_list); x++) { |