Commit 59cdeebc by Trevor Saunders Committed by Trevor Saunders

use c++ for gimple_build_debug_bind{,_source}

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
parent 2a1a5f30
2017-07-28 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> 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. * bitmap.c (bitmap_alloc): Adjust.
(bitmap_gc_alloc): Likewise. (bitmap_gc_alloc): Likewise.
* bitmap.h (bitmap_initialize_stat): Remove _stat from name. * bitmap.h (bitmap_initialize_stat): Remove _stat from name.
......
...@@ -796,7 +796,7 @@ gimple_build_eh_dispatch (int region) ...@@ -796,7 +796,7 @@ gimple_build_eh_dispatch (int region)
VAR is bound to VALUE; block and location are taken from STMT. */ VAR is bound to VALUE; block and location are taken from STMT. */
gdebug * 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 gdebug *p
= as_a <gdebug *> (gimple_build_with_ops_stat (GIMPLE_DEBUG, = 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) ...@@ -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. */ VAR is bound to VALUE; block and location are taken from STMT. */
gdebug * 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) gimple *stmt MEM_STAT_DECL)
{ {
gdebug *p gdebug *p
......
...@@ -1453,12 +1453,8 @@ gresx *gimple_build_resx (int); ...@@ -1453,12 +1453,8 @@ gresx *gimple_build_resx (int);
gswitch *gimple_build_switch_nlabels (unsigned, tree, tree); gswitch *gimple_build_switch_nlabels (unsigned, tree, tree);
gswitch *gimple_build_switch (tree, tree, vec<tree> ); gswitch *gimple_build_switch (tree, tree, vec<tree> );
geh_dispatch *gimple_build_eh_dispatch (int); geh_dispatch *gimple_build_eh_dispatch (int);
gdebug *gimple_build_debug_bind_stat (tree, tree, gimple * MEM_STAT_DECL); gdebug *gimple_build_debug_bind (tree, tree, gimple * CXX_MEM_STAT_INFO);
#define gimple_build_debug_bind(var,val,stmt) \ gdebug *gimple_build_debug_source_bind (tree, tree, gimple * CXX_MEM_STAT_INFO);
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)
gomp_critical *gimple_build_omp_critical (gimple_seq, tree, tree); 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_for *gimple_build_omp_for (gimple_seq, int, tree, size_t, gimple_seq);
gomp_parallel *gimple_build_omp_parallel (gimple_seq, tree, tree, tree); gomp_parallel *gimple_build_omp_parallel (gimple_seq, tree, tree, tree);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment