* vec.h (debug_helper): New function.
commit487fbf05298bfa8f76146d809c68b785e7104ea6
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Nov 2017 08:32:57 +0000 (20 08:32 +0000)
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 20 Nov 2017 08:32:57 +0000 (20 08:32 +0000)
tree32e5e7fae29ce15cabb6a27c2982ccabef10c491
parentf374c565142b25be9116f855d820d6cb3f750805
* vec.h (debug_helper): New function.
(DEFINE_DEBUG_VEC): New macro.
* hash-set.h (debug_helper): New function.
(DEFINE_DEBUG_HASH_SET): New macro.
* cfg.c (debug_slim (edge)): New function.
Call DEFINE_DEBUG_VEC for edges.
Call DEFINE_DEBUG_HASH_SET for edges.
* cfghooks.c (debug_slim (basic_block)): New function.
Call DEFINE_DEBUG_VEC for basic blocks.
Call DEFINE_DEBUG_HASH_SET for basic blocks.
* print-tree.c (debug_slim): New function to handle trees.
Call DEFINE_DEBUG_VEC for trees.
Call DEFINE_DEBUG_HASH_SET for trees.
(debug (vec<tree, va_gc>) &): Remove.
(debug (<vec<tree, va_gc>) *): Remove.
* print-rtl.c (debug_slim): New function to handle const_rtx.
Call DEFINE_DEBUG_VEC for rtx_def.
Call DEFINE_DEBUG_VEC for rtx_insn.
Call DEFINE_DEBUG_HASH_SET for rtx_def.
Call DEFINE_DEBUG_HASH_SET for rtx_insn.
* sel-sched-dump.c (debug (vec<rtx_insn *> &): Remove.
(debug (vec<rtx_insn *> *ptr): Remove.
(debug_insn_vector): Remove.
* stor-layout.c (debug_rli): Call debug() instead of debug_vec_tree.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@254945 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cfg.c
gcc/cfghooks.c
gcc/hash-set.h
gcc/print-rtl.c
gcc/print-tree.c
gcc/sel-sched-dump.c
gcc/stor-layout.c
gcc/vec.h