summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-02-24 03:46:42 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-02-24 03:46:42 +0000
commitfa0ac78a2756b7f0ae209b4191de18b1b6f9b316 (patch)
treea6e638b799d29fff70dd1db34766d8ee1c673a7f
parent6d4e0ecc0eda354158fd87a997b0450f57a52435 (diff)
downloadgcc-fa0ac78a2756b7f0ae209b4191de18b1b6f9b316.tar.gz
* et-forest.c: Replace et_occurences with et_occurrences.
From-SVN: r78351
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/et-forest.c12
2 files changed, 10 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7fba48e5aa1..c9a8301095d 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
2004-02-23 Kazu Hirata <kazu@cs.umass.edu>
+ * et-forest.c: Replace et_occurences with et_occurrences.
+
+2004-02-23 Kazu Hirata <kazu@cs.umass.edu>
+
* cfgloop.h, loop-iv.c, loop-unswitch.c: Replace iv_analyse
with iv_analyze.
diff --git a/gcc/et-forest.c b/gcc/et-forest.c
index 77194c63068..e65ccda6005 100644
--- a/gcc/et-forest.c
+++ b/gcc/et-forest.c
@@ -56,7 +56,7 @@ struct et_occ
};
static alloc_pool et_nodes;
-static alloc_pool et_occurences;
+static alloc_pool et_occurrences;
/* Changes depth of OCC to D. */
@@ -459,9 +459,9 @@ et_new_occ (struct et_node *node)
{
struct et_occ *nw;
- if (!et_occurences)
- et_occurences = create_alloc_pool ("et_occ pool", sizeof (struct et_occ), 300);
- nw = pool_alloc (et_occurences);
+ if (!et_occurrences)
+ et_occurrences = create_alloc_pool ("et_occ pool", sizeof (struct et_occ), 300);
+ nw = pool_alloc (et_occurrences);
nw->of = node;
nw->parent = NULL;
@@ -509,7 +509,7 @@ et_free_tree (struct et_node *t)
if (t->father)
et_split (t);
- pool_free (et_occurences, t->rightmost_occ);
+ pool_free (et_occurrences, t->rightmost_occ);
pool_free (et_nodes, t);
}
@@ -602,7 +602,7 @@ et_split (struct et_node *t)
rmost->depth = 0;
rmost->min = 0;
- pool_free (et_occurences, p_occ);
+ pool_free (et_occurrences, p_occ);
/* Update the tree. */
if (father->son == t)