diff options
author | Richard Biener <rguenther@suse.de> | 2017-04-21 08:58:39 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2017-04-21 08:58:39 +0000 |
commit | ad32f0675e6596552ec670ef4afc71f0803be2fa (patch) | |
tree | 1685c097faa80ff182dbc65cdb58d72fd5b911a1 /gcc/cp/lex.c | |
parent | 666f7903e0334ef65669277383e4028a4fe9ef0c (diff) | |
download | gcc-ad32f0675e6596552ec670ef4afc71f0803be2fa.zip gcc-ad32f0675e6596552ec670ef4afc71f0803be2fa.tar.gz gcc-ad32f0675e6596552ec670ef4afc71f0803be2fa.tar.bz2 |
tree.h (build_qualified_type): Annotate with CXX_MEM_STAT_INFO.
2017-04-21 Richard Biener <rguenther@suse.de>
* tree.h (build_qualified_type): Annotate with CXX_MEM_STAT_INFO.
(build_distinct_type_copy): Likewise.
(build_variant_type_copy): Likewise.
* tree.c (build_qualified_type): Pass down mem-stat info.
(build_distinct_type_copy): Likewise.
(build_variant_type_copy): Likewise.
cp/
* cp-tree.h (copy_decl): Annotate with CXX_MEM_STAT_INFO.
(copy_type): Likewise.
* lex.c (copy_decl): Pass down mem-stat info.
(copy_type): Likewise.
From-SVN: r247053
Diffstat (limited to 'gcc/cp/lex.c')
-rw-r--r-- | gcc/cp/lex.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/cp/lex.c b/gcc/cp/lex.c index ad63186..0f8a269 100644 --- a/gcc/cp/lex.c +++ b/gcc/cp/lex.c @@ -607,11 +607,11 @@ cxx_dup_lang_specific_decl (tree node) /* Copy DECL, including any language-specific parts. */ tree -copy_decl (tree decl) +copy_decl (tree decl MEM_STAT_DECL) { tree copy; - copy = copy_node (decl); + copy = copy_node_stat (decl PASS_MEM_STAT); cxx_dup_lang_specific_decl (copy); return copy; } @@ -645,11 +645,11 @@ copy_lang_type (tree node) /* Copy TYPE, including any language-specific parts. */ tree -copy_type (tree type) +copy_type (tree type MEM_STAT_DECL) { tree copy; - copy = copy_node (type); + copy = copy_node_stat (type PASS_MEM_STAT); copy_lang_type (copy); return copy; } |