aboutsummaryrefslogtreecommitdiff
path: root/gcc/print-tree.h
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2016-11-24 10:42:18 +0100
committerMartin Liska <marxin@gcc.gnu.org>2016-11-24 09:42:18 +0000
commit47044ef2f54892a508c45cdb226da13062314818 (patch)
tree6a5424eaba95faccded12402bfb30eb22ae695ea /gcc/print-tree.h
parent665ad37b6ab1863ac1a4febbdb9aeb7a6d1b8168 (diff)
downloadgcc-47044ef2f54892a508c45cdb226da13062314818.zip
gcc-47044ef2f54892a508c45cdb226da13062314818.tar.gz
gcc-47044ef2f54892a508c45cdb226da13062314818.tar.bz2
Fix print_node for CONSTRUCTORs
* print-tree.c (struct bucket): Remove. (print_node): Add new argument which drives whether a tree node is printed briefly or not. (debug_tree): Replace a custom hash table with hash_set<T>. * print-tree.h (print_node): Add the argument. From-SVN: r242820
Diffstat (limited to 'gcc/print-tree.h')
-rw-r--r--gcc/print-tree.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/print-tree.h b/gcc/print-tree.h
index 124deab..fd610f9 100644
--- a/gcc/print-tree.h
+++ b/gcc/print-tree.h
@@ -38,7 +38,8 @@ extern void debug_raw (vec<tree, va_gc> &ref);
extern void debug_raw (vec<tree, va_gc> *ptr);
#ifdef BUFSIZ
extern void dump_addr (FILE*, const char *, const void *);
-extern void print_node (FILE *, const char *, tree, int);
+extern void print_node (FILE *, const char *, tree, int,
+ bool brief_for_visited = true);
extern void print_node_brief (FILE *, const char *, const_tree, int);
extern void indent_to (FILE *, int);
#endif