* dump.c (dequeue_and_dump): Dump all three operands to a COND_EXPR.

From-SVN: r29849
This commit is contained in:
Mark Mitchell 1999-10-07 03:34:58 +00:00 committed by Mark Mitchell
parent f2646bf2fa
commit 56934d5c71
2 changed files with 8 additions and 1 deletions

View File

@ -1,5 +1,7 @@
1999-10-06 Mark Mitchell <mark@codesourcery.com>
* dump.c (dequeue_and_dump): Dump all three operands to a COND_EXPR.
* cp-tree.h (CLASSTYPE_VFIELD): Remove.
* call.c (build_vfield_ref): Use TYPE_VFIELD, not
CLASSTYPE_VFIELD.

View File

@ -783,13 +783,18 @@ dequeue_and_dump (di)
case MODIFY_EXPR:
case COMPONENT_REF:
case COMPOUND_EXPR:
case COND_EXPR:
case ARRAY_REF:
/* These nodes are binary, but do not have code class `2'. */
dump_child ("op 0", TREE_OPERAND (t, 0));
dump_child ("op 1", TREE_OPERAND (t, 1));
break;
case COND_EXPR:
dump_child ("op 0", TREE_OPERAND (t, 0));
dump_child ("op 1", TREE_OPERAND (t, 1));
dump_child ("op 2", TREE_OPERAND (t, 2));
break;
case CALL_EXPR:
dump_child ("fn", TREE_OPERAND (t, 0));
dump_child ("args", TREE_OPERAND (t, 1));