tree-dump.c (dequeue_and_dump): Use CONSTRUCTOR_ELTS...

* tree-dump.c (dequeue_and_dump): Use CONSTRUCTOR_ELTS,
	instead of TREE_OPERAND to access the operand of a
	CONSTRUCTOR node.

From-SVN: r66635
This commit is contained in:
Diego Novillo 2003-05-09 15:37:08 +00:00 committed by Diego Novillo
parent 88e98cfeb7
commit 5675294bcb
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2003-05-09 Diego Novillo <dnovillo@redhat.com>
* tree-dump.c (dequeue_and_dump): Use CONSTRUCTOR_ELTS,
instead of TREE_OPERAND to access the operand of a
CONSTRUCTOR node.
2003-05-09 Diego Novillo <dnovillo@redhat.com>
* tree-dump.c (dequeue_and_dump): CONSTRUCTOR nodes contain only

View File

@ -569,7 +569,7 @@ dequeue_and_dump (di)
break;
case CONSTRUCTOR:
dump_child ("elts", TREE_OPERAND (t, 0));
dump_child ("elts", CONSTRUCTOR_ELTS (t));
break;
case BIND_EXPR: