diff options
author | drow <drow@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-05-02 18:25:23 +0000 |
---|---|---|
committer | drow <drow@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-05-02 18:25:23 +0000 |
commit | b29540f964edf027d9bbf31e6831d2e6928054dd (patch) | |
tree | 90026114ff8c66b22fb5163e84cf7c18df6b27fa /gcc/tree.c | |
parent | 99b442ff01f2d9ae7b66fff9516be78f684fc42f (diff) | |
download | gcc-b29540f964edf027d9bbf31e6831d2e6928054dd.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99114 138bc75d-0d04-0410-961f-82ee72b054a4
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)); |