diff options
author | Daniel Jacobowitz <dan@codesourcery.com> | 2005-05-02 18:25:23 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@gcc.gnu.org> | 2005-05-02 18:25:23 +0000 |
commit | a6e4d85b506e3424a02c752661b47e35efe1ee05 (patch) | |
tree | 90026114ff8c66b22fb5163e84cf7c18df6b27fa /gcc/tree.c | |
parent | ff7f012ac0aa90d0b8f540a01844ecc158b2d740 (diff) | |
download | gcc-a6e4d85b506e3424a02c752661b47e35efe1ee05.tar.gz |
ggc.h (ggc_alloc_zone_pass_stat): New macro.
* ggc.h (ggc_alloc_zone_pass_stat): New macro.
(ggc_alloc_zone_stat): Don't define.
* ggc-zone.c (ggc_alloc_typed_stat, ggc_alloc_stat): Use
ggc_alloc_zone_pass_stat.
* rtl.c (rtx_alloc_stat, shallow_copy_rtx_stat): Likewise.
* tree.c (make_node_stat, copy_node_stat, make_tree_binfo_stat)
(make_tree_vec_stat, tree_cons_stat, build1_stat): Likewise.
From-SVN: r99114
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/gcc/tree.c b/gcc/tree.c index 48efe09ccdd..ed46248be19 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -347,9 +347,9 @@ make_node_stat (enum tree_code code MEM_STAT_DECL) #endif if (code == IDENTIFIER_NODE) - t = ggc_alloc_zone_stat (length, &tree_id_zone PASS_MEM_STAT); + t = ggc_alloc_zone_pass_stat (length, &tree_id_zone); else - t = ggc_alloc_zone_stat (length, &tree_zone PASS_MEM_STAT); + t = ggc_alloc_zone_pass_stat (length, &tree_zone); memset (t, 0, length); @@ -433,7 +433,7 @@ copy_node_stat (tree node MEM_STAT_DECL) gcc_assert (code != STATEMENT_LIST); length = tree_size (node); - t = ggc_alloc_zone_stat (length, &tree_zone PASS_MEM_STAT); + t = ggc_alloc_zone_pass_stat (length, &tree_zone); memcpy (t, node, length); TREE_CHAIN (t) = 0; @@ -921,7 +921,7 @@ make_tree_binfo_stat (unsigned base_binfos MEM_STAT_DECL) tree_node_sizes[(int) binfo_kind] += length; #endif - t = ggc_alloc_zone_stat (length, &tree_zone PASS_MEM_STAT); + t = ggc_alloc_zone_pass_stat (length, &tree_zone); memset (t, 0, offsetof (struct tree_binfo, base_binfos)); @@ -946,7 +946,7 @@ make_tree_vec_stat (int len MEM_STAT_DECL) tree_node_sizes[(int) vec_kind] += length; #endif - t = ggc_alloc_zone_stat (length, &tree_zone PASS_MEM_STAT); + t = ggc_alloc_zone_pass_stat (length, &tree_zone); memset (t, 0, length); @@ -1418,8 +1418,7 @@ tree_cons_stat (tree purpose, tree value, tree chain MEM_STAT_DECL) { tree node; - node = ggc_alloc_zone_stat (sizeof (struct tree_list), - &tree_zone PASS_MEM_STAT); + node = ggc_alloc_zone_pass_stat (sizeof (struct tree_list), &tree_zone); memset (node, 0, sizeof (struct tree_common)); @@ -2512,7 +2511,7 @@ build1_stat (enum tree_code code, tree type, tree node MEM_STAT_DECL) gcc_assert (TREE_CODE_LENGTH (code) == 1); - t = ggc_alloc_zone_stat (length, &tree_zone PASS_MEM_STAT); + t = ggc_alloc_zone_pass_stat (length, &tree_zone); memset (t, 0, sizeof (struct tree_common)); |