diff options
author | Richard Henderson <rth@redhat.com> | 2001-03-07 10:44:17 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2001-03-07 10:44:17 -0800 |
commit | 232f749bbc7017ae00943a6ba87ef151276dff3e (patch) | |
tree | 80850b2388b92d6896a75218decd62c239e9b882 /gcc/lists.c | |
parent | 542d73aeffbdb33c2cf23d1a232da9d7fe747e92 (diff) | |
download | gcc-232f749bbc7017ae00943a6ba87ef151276dff3e.tar.gz |
lists.c (init_EXPR_INSN_LIST_cache): Don't check initialized.
* lists.c (init_EXPR_INSN_LIST_cache): Don't check initialized.
* toplev.c (rest_of_compilation): Call init_EXPR_INSN_LIST_cache ...
(compile_file): ... here.
From-SVN: r40296
Diffstat (limited to 'gcc/lists.c')
-rw-r--r-- | gcc/lists.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gcc/lists.c b/gcc/lists.c index b13d171414a..efba26f88b4 100644 --- a/gcc/lists.c +++ b/gcc/lists.c @@ -121,12 +121,7 @@ zap_lists (dummy) void init_EXPR_INSN_LIST_cache () { - static int initialized; - if (!initialized) - { - initialized = 1; - ggc_add_root (&unused_expr_list, 1, 1, zap_lists); - } + ggc_add_root (&unused_expr_list, 1, 1, zap_lists); } /* This function will free up an entire list of EXPR_LIST nodes. */ |