Mercurial > hg > CbC > CbC_gcc
diff gcc/et-forest.c @ 55:77e2b8dfacca gcc-4.4.5
update it from 4.4.3 to 4.5.0
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 12 Feb 2010 23:39:51 +0900 |
parents | a06113de4d67 |
children | f6334be47118 |
line wrap: on
line diff
--- a/gcc/et-forest.c Sun Feb 07 18:28:00 2010 +0900 +++ b/gcc/et-forest.c Fri Feb 12 23:39:51 2010 +0900 @@ -210,7 +210,7 @@ if (occ->prev) { - m = record_path_before_1 (occ->prev, depth); + m = record_path_before_1 (occ->prev, depth); if (m < mn) mn = m; } @@ -261,7 +261,7 @@ if (occ->next) { - m = check_path_after_1 (occ->next, depth); + m = check_path_after_1 (occ->next, depth); if (m < mn) mn = m; } @@ -308,7 +308,7 @@ record_path_before (occ); et_check_tree_sanity (occ); #endif - + while (occ->parent) { occ_depth = occ->depth; @@ -444,7 +444,7 @@ et_new_occ (struct et_node *node) { struct et_occ *nw; - + if (!et_occurrences) et_occurrences = create_alloc_pool ("et_occ pool", sizeof (struct et_occ), 300); nw = (struct et_occ *) pool_alloc (et_occurrences); @@ -467,7 +467,7 @@ et_new_tree (void *data) { struct et_node *nw; - + if (!et_nodes) et_nodes = create_alloc_pool ("et_node pool", sizeof (struct et_node), 300); nw = (struct et_node *) pool_alloc (et_nodes); @@ -590,7 +590,7 @@ for (r = rmost->next; r->prev; r = r->prev) continue; - et_splay (r); + et_splay (r); r->prev->parent = NULL; p_occ = t->parent_occ;