Commit 5675294b by Diego Novillo Committed by Diego Novillo

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
parent 88e98cfe
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
one operand.
......
......@@ -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:
......
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