2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2025-04-24 07:10:27 +08:00

c-dump.c (dequeue_and_dump): Dump function bodies.

* c-dump.c (dequeue_and_dump): Dump function bodies.

	* dump.c (cp_dump_tree): Don't dump function bodies here.

From-SVN: r37359
This commit is contained in:
Mark Mitchell 2000-11-10 04:50:53 +00:00 committed by Mark Mitchell
parent 0a7394bc1a
commit 13507bd80d
4 changed files with 6 additions and 2 deletions

@ -1,5 +1,7 @@
2000-11-09 Mark Mitchell <mark@codesourcery.com>
* c-dump.c (dequeue_and_dump): Dump function bodies.
* Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o.
(c-dump.o): New target.
* c-common.h (flag_dump_translation_unit): New variable.

@ -504,6 +504,8 @@ dequeue_and_dump (di)
dump_string (di, "extern");
else
dump_string (di, "static");
if (DECL_LANG_SPECIFIC (t))
dump_child ("body", DECL_SAVED_TREE (t));
break;
case ASM_STMT:

@ -1,5 +1,7 @@
2000-11-09 Mark Mitchell <mark@codesourcery.com>
* dump.c (cp_dump_tree): Don't dump function bodies here.
* Make-lang.in (CXX_C_OBJS): Add c-dump.o.
(dump.o): Update dependency list.
* cp-tree.h (DECL_MAYBE_TEMPLATE): Remove.

@ -107,8 +107,6 @@ cp_dump_tree (di, t)
}
if (DECL_FRIEND_PSEUDO_TEMPLATE_INSTANTIATION (t))
dump_string (di, "pseudo tmpl");
dump_child ("body", DECL_SAVED_TREE (t));
}
else
{