use c++ instead of {make,grow}_tree_vec_stat
authorTrevor Saunders <tbsaunde+gcc@tbsaunde.org>
Sat, 29 Jul 2017 01:38:25 +0000 (01:38 +0000)
committerTrevor Saunders <tbsaunde@gcc.gnu.org>
Sat, 29 Jul 2017 01:38:25 +0000 (01:38 +0000)
gcc/ChangeLog:

2017-07-28  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

* tree.c (make_tree_vec_stat): Remove _stat from name.
(grow_tree_vec_stat): Likewise.
* tree.h (make_tree_vec_stat): Adjust prototype.
(grow_tree_vec_stat): Likewise.
(make_tree_vec): Remove macro.
(grow_tree_vec): Likewise.

From-SVN: r250699

gcc/ChangeLog
gcc/tree.c
gcc/tree.h

index 2219031028b78fcc0b9da6749bbc3f9ca940b452..69204a82e8d91620edef40a078ce31cc9b7b17e4 100644 (file)
@@ -1,3 +1,12 @@
+2017-07-28  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
+
+       * tree.c (make_tree_vec_stat): Remove _stat from name.
+       (grow_tree_vec_stat): Likewise.
+       * tree.h (make_tree_vec_stat): Adjust prototype.
+       (grow_tree_vec_stat): Likewise.
+       (make_tree_vec): Remove macro.
+       (grow_tree_vec): Likewise.
+
 2017-07-28  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
 
        * fold-const.c (fold_build1_stat_loc): Adjust.
index bb9339030efe8b991f6dbe99aa5b7925df20d2aa..931f987e93a254a0d264e1da9332230b480b0e48 100644 (file)
@@ -2265,7 +2265,7 @@ make_int_cst (int len, int ext_len MEM_STAT_DECL)
 /* Build a newly constructed TREE_VEC node of length LEN.  */
 
 tree
-make_tree_vec_stat (int len MEM_STAT_DECL)
+make_tree_vec (int len MEM_STAT_DECL)
 {
   tree t;
   size_t length = (len - 1) * sizeof (tree) + sizeof (struct tree_vec);
@@ -2283,7 +2283,7 @@ make_tree_vec_stat (int len MEM_STAT_DECL)
 /* Grow a TREE_VEC node to new length LEN.  */
 
 tree
-grow_tree_vec_stat (tree v, int len MEM_STAT_DECL)
+grow_tree_vec (tree v, int len MEM_STAT_DECL)
 {
   gcc_assert (TREE_CODE (v) == TREE_VEC);
 
index 70803a0297330901d7b09992f9ac07389aad896d..636dc0926e1f7726f1ecd3ce5e5d6b37bf91f49e 100644 (file)
@@ -3916,13 +3916,11 @@ extern tree make_int_cst (int, int CXX_MEM_STAT_INFO);
 
 /* Make a TREE_VEC.  */
 
-extern tree make_tree_vec_stat (int MEM_STAT_DECL);
-#define make_tree_vec(t) make_tree_vec_stat (t MEM_STAT_INFO)
+extern tree make_tree_vec (int CXX_MEM_STAT_INFO);
 
 /* Grow a TREE_VEC.  */
 
-extern tree grow_tree_vec_stat (tree v, int MEM_STAT_DECL);
-#define grow_tree_vec(v, t) grow_tree_vec_stat (v, t MEM_STAT_INFO)
+extern tree grow_tree_vec (tree v, int CXX_MEM_STAT_INFO);
 
 /* Construct various types of nodes.  */