cp-tree.h (AGGR_INIT_VIA_CTOR_P): New macro.
* cp-tree.h (AGGR_INIT_VIA_CTOR_P): New macro. * tree.c (build_cplus_new): Set it. * expr.c (cplus_expand_expr): Use it. * dump.c (deque_and_dump): Handle AGGR_INIT_EXPR. From-SVN: r28916
This commit is contained in:
parent
e1376b008f
commit
49124a6e01
|
@ -1,9 +1,10 @@
|
|||
1999-08-26 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
* cp-tree.def (AGGR_INIT_VIA_CTOR_P): New macro.
|
||||
* cp-tree.h (AGGR_INIT_VIA_CTOR_P): New macro.
|
||||
* tree.c (build_cplus_new): Set it.
|
||||
* expr.c (cplus_expand_expr): Use it.
|
||||
|
||||
* dump.c (deque_and_dump): Handle AGGR_INIT_EXPR.
|
||||
|
||||
* decl.c (store_parm_decls): Reset immediate_size_expand.
|
||||
(finish_function): Likewise.
|
||||
|
||||
|
|
|
@ -850,6 +850,16 @@ dequeue_and_dump (di)
|
|||
}
|
||||
break;
|
||||
|
||||
case AGGR_INIT_EXPR:
|
||||
dump_int ("ctor", AGGR_INIT_VIA_CTOR_P (t));
|
||||
if (dump_children_p)
|
||||
{
|
||||
dump_child ("fn", TREE_OPERAND (t, 0));
|
||||
dump_child ("args", TREE_OPERAND (t, 1));
|
||||
dump_child ("decl", TREE_OPERAND (t, 2));
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
/* There are no additional fields to print. */
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue