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/tree.h | |
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/tree.h')
-rw-r--r-- | gcc/tree.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -4265,7 +4265,7 @@ extern tree get_qualified_type (tree, int); /* Like get_qualified_type, but creates the type if it does not exist. This function never returns NULL_TREE. */ -extern tree build_qualified_type (tree, int); +extern tree build_qualified_type (tree, int CXX_MEM_STAT_INFO); /* Create a variant of type T with alignment ALIGN. */ @@ -4283,8 +4283,8 @@ extern tree build_aligned_type (tree, unsigned int); /* Make a copy of a type node. */ -extern tree build_distinct_type_copy (tree); -extern tree build_variant_type_copy (tree); +extern tree build_distinct_type_copy (tree CXX_MEM_STAT_INFO); +extern tree build_variant_type_copy (tree CXX_MEM_STAT_INFO); /* Given a hashcode and a ..._TYPE node (for which the hashcode was made), return a canonicalized ..._TYPE node, so that duplicates are not made. |