Commit 13507bd8 by Mark Mitchell Committed by Mark Mitchell

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
parent 0a7394bc
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:
......
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
{
......
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