use c++ for gimple_build_debug_bind{,_source}
authorTrevor Saunders <tbsaunde+gcc@tbsaunde.org>
Sat, 29 Jul 2017 01:39:42 +0000 (01:39 +0000)
committerTrevor Saunders <tbsaunde@gcc.gnu.org>
Sat, 29 Jul 2017 01:39:42 +0000 (01:39 +0000)
gcc/ChangeLog:

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

* gimple.c (gimple_build_debug_bind_stat): Remove _stat from name.
(gimple_build_debug_bind_source_stat): Likewise.
* gimple.h (gimple_build_debug_bind): Remove macro.
(gimple_build_debug_bind_source): Likewise.

From-SVN: r250711

gcc/ChangeLog
gcc/gimple.c
gcc/gimple.h

index 4be715504580d1f68e755fd972af5e6673662472..193f169fb98335cc868eb694fec089740de14b87 100644 (file)
@@ -1,3 +1,10 @@
+2017-07-28  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
+
+       * gimple.c (gimple_build_debug_bind_stat): Remove _stat from name.
+       (gimple_build_debug_bind_source_stat): Likewise.
+       * gimple.h (gimple_build_debug_bind): Remove macro.
+       (gimple_build_debug_bind_source): Likewise.
+
 2017-07-28  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
 
        * bitmap.c (bitmap_alloc): Adjust.
index 13a682848797575207240be312fa969fbb194fc8..3a32b530cce6ad16e40fbc90304614dda20c737a 100644 (file)
@@ -796,7 +796,7 @@ gimple_build_eh_dispatch (int region)
    VAR is bound to VALUE; block and location are taken from STMT.  */
 
 gdebug *
-gimple_build_debug_bind_stat (tree var, tree value, gimple *stmt MEM_STAT_DECL)
+gimple_build_debug_bind (tree var, tree value, gimple *stmt MEM_STAT_DECL)
 {
   gdebug *p
     = as_a <gdebug *> (gimple_build_with_ops_stat (GIMPLE_DEBUG,
@@ -816,7 +816,7 @@ gimple_build_debug_bind_stat (tree var, tree value, gimple *stmt MEM_STAT_DECL)
    VAR is bound to VALUE; block and location are taken from STMT.  */
 
 gdebug *
-gimple_build_debug_source_bind_stat (tree var, tree value,
+gimple_build_debug_source_bind (tree var, tree value,
                                     gimple *stmt MEM_STAT_DECL)
 {
   gdebug *p
index d9945648215a419dbf1a77dace35276c8f61dbd3..6213c49b91f4613b6b3e6795815809b451e5a543 100644 (file)
@@ -1453,12 +1453,8 @@ gresx *gimple_build_resx (int);
 gswitch *gimple_build_switch_nlabels (unsigned, tree, tree);
 gswitch *gimple_build_switch (tree, tree, vec<tree> );
 geh_dispatch *gimple_build_eh_dispatch (int);
-gdebug *gimple_build_debug_bind_stat (tree, tree, gimple * MEM_STAT_DECL);
-#define gimple_build_debug_bind(var,val,stmt)                  \
-  gimple_build_debug_bind_stat ((var), (val), (stmt) MEM_STAT_INFO)
-gdebug *gimple_build_debug_source_bind_stat (tree, tree, gimple * MEM_STAT_DECL);
-#define gimple_build_debug_source_bind(var,val,stmt)                   \
-  gimple_build_debug_source_bind_stat ((var), (val), (stmt) MEM_STAT_INFO)
+gdebug *gimple_build_debug_bind (tree, tree, gimple * CXX_MEM_STAT_INFO);
+gdebug *gimple_build_debug_source_bind (tree, tree, gimple * CXX_MEM_STAT_INFO);
 gomp_critical *gimple_build_omp_critical (gimple_seq, tree, tree);
 gomp_for *gimple_build_omp_for (gimple_seq, int, tree, size_t, gimple_seq);
 gomp_parallel *gimple_build_omp_parallel (gimple_seq, tree, tree, tree);