aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-dump.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2017-05-11 15:48:51 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2017-05-11 15:48:51 +0000
commitc24e924f928e7a092a7dd829a6eb95c2c95625a3 (patch)
treec9c6ce3724ccca0a8b77c6921f9f1419ba1db0d3 /gcc/tree-dump.c
parent2e3757e78af922758a8ec45c4af78159384a6091 (diff)
downloadgcc-c24e924f928e7a092a7dd829a6eb95c2c95625a3.zip
gcc-c24e924f928e7a092a7dd829a6eb95c2c95625a3.tar.gz
gcc-c24e924f928e7a092a7dd829a6eb95c2c95625a3.tar.bz2
dumpfle.h (dump_function): Declare here ...
* dumpfle.h (dump_function): Declare here ... * tree-dump.h (dump_function): ... not here. * dumpfile.c: #include tree-cfg.h. (dump_function): Move here from ... * tree-dump.c (dump_function): ... here. * gimplify.c: #include splay-tree.h, not tree-dump.h. * graphite-poly.c: Don't include tree-dump.h. * cgraphclones.c: Include dumpfile.h not tree-dump.h. * print-tree.c: Likewise. * stor-layout.c: Likewise. * tree-nested.c: Likewise. c/ * gimple-parser.c: Don't #include tree-dump.h. fortran/ * trans-decl.c: Include dumpfile.h not tree-dump.h, From-SVN: r247916
Diffstat (limited to 'gcc/tree-dump.c')
-rw-r--r--gcc/tree-dump.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/gcc/tree-dump.c b/gcc/tree-dump.c
index d6c55eb..fd1783e 100644
--- a/gcc/tree-dump.c
+++ b/gcc/tree-dump.c
@@ -153,22 +153,6 @@ dump_maybe_newline (dump_info_p di)
}
}
-/* Dump FUNCTION_DECL FN as tree dump PHASE. */
-
-void
-dump_function (int phase, tree fn)
-{
- FILE *stream;
- int flags;
-
- stream = dump_begin (phase, &flags);
- if (stream)
- {
- dump_function_to_file (fn, stream, flags);
- dump_end (phase, stream);
- }
-}
-
/* Dump pointer PTR using FIELD to identify it. */
void