aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+gcc@tbsaunde.org>2017-07-29 01:38:06 +0000
committerTrevor Saunders <tbsaunde@gcc.gnu.org>2017-07-29 01:38:06 +0000
commit86cbccd7d54a977691b8e612c9b380db6a9b4358 (patch)
tree814a10ecfd0f6aca15a6e2c098aadbc0dc1508f0
parent39d970d7d25c7c6f766768fc2901ba5e39b34bf7 (diff)
downloadgcc-86cbccd7d54a977691b8e612c9b380db6a9b4358.zip
gcc-86cbccd7d54a977691b8e612c9b380db6a9b4358.tar.gz
gcc-86cbccd7d54a977691b8e612c9b380db6a9b4358.tar.bz2
use cxx instead of make_tree_binfo_stat
gcc/ChangeLog: 2017-07-28 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * tree.c (make_tre_binfo_stat): Remove _stat from name. * tree.h (make_tree_binfo_stat): Adjust prototype. (make_tree_binfo): Remove. From-SVN: r250696
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/tree.c2
-rw-r--r--gcc/tree.h3
3 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1e7c2b8..1af4252 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,11 @@
2017-07-28 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
+ * tree.c (make_tre_binfo_stat): Remove _stat from name.
+ * tree.h (make_tree_binfo_stat): Adjust prototype.
+ (make_tree_binfo): Remove.
+
+2017-07-28 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
+
* tree.c (copy_node_stat): Rename to copy_node.
(build_distinct_type_copy): Adjust.
* tree.h (copy_node_stat): Adjust prototype.
diff --git a/gcc/tree.c b/gcc/tree.c
index 1bd4cfc..5532b5f 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -2193,7 +2193,7 @@ build_zero_cst (tree type)
/* Build a BINFO with LEN language slots. */
tree
-make_tree_binfo_stat (unsigned base_binfos MEM_STAT_DECL)
+make_tree_binfo (unsigned base_binfos MEM_STAT_DECL)
{
tree t;
size_t length = (offsetof (struct tree_binfo, base_binfos)
diff --git a/gcc/tree.h b/gcc/tree.h
index 64bc369..34c1ea3 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -3908,8 +3908,7 @@ extern tree copy_list (tree);
extern tree build_case_label (tree, tree, tree);
/* Make a BINFO. */
-extern tree make_tree_binfo_stat (unsigned MEM_STAT_DECL);
-#define make_tree_binfo(t) make_tree_binfo_stat (t MEM_STAT_INFO)
+extern tree make_tree_binfo (unsigned CXX_MEM_STAT_INFO);
/* Make an INTEGER_CST. */