mirror of git://gcc.gnu.org/git/gcc.git
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:
parent
0a7394bc1a
commit
13507bd80d
|
|
@ -1,5 +1,7 @@
|
||||||
2000-11-09 Mark Mitchell <mark@codesourcery.com>
|
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.
|
* Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o.
|
||||||
(c-dump.o): New target.
|
(c-dump.o): New target.
|
||||||
* c-common.h (flag_dump_translation_unit): New variable.
|
* c-common.h (flag_dump_translation_unit): New variable.
|
||||||
|
|
|
||||||
|
|
@ -504,6 +504,8 @@ dequeue_and_dump (di)
|
||||||
dump_string (di, "extern");
|
dump_string (di, "extern");
|
||||||
else
|
else
|
||||||
dump_string (di, "static");
|
dump_string (di, "static");
|
||||||
|
if (DECL_LANG_SPECIFIC (t))
|
||||||
|
dump_child ("body", DECL_SAVED_TREE (t));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case ASM_STMT:
|
case ASM_STMT:
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
2000-11-09 Mark Mitchell <mark@codesourcery.com>
|
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.
|
* Make-lang.in (CXX_C_OBJS): Add c-dump.o.
|
||||||
(dump.o): Update dependency list.
|
(dump.o): Update dependency list.
|
||||||
* cp-tree.h (DECL_MAYBE_TEMPLATE): Remove.
|
* cp-tree.h (DECL_MAYBE_TEMPLATE): Remove.
|
||||||
|
|
|
||||||
|
|
@ -107,8 +107,6 @@ cp_dump_tree (di, t)
|
||||||
}
|
}
|
||||||
if (DECL_FRIEND_PSEUDO_TEMPLATE_INSTANTIATION (t))
|
if (DECL_FRIEND_PSEUDO_TEMPLATE_INSTANTIATION (t))
|
||||||
dump_string (di, "pseudo tmpl");
|
dump_string (di, "pseudo tmpl");
|
||||||
|
|
||||||
dump_child ("body", DECL_SAVED_TREE (t));
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue