Commit 15bb20c1 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

irdump: Show the value of a Const when dumping its opcode.

parent 3c7cd773
......@@ -645,6 +645,10 @@ void dump_node_opcode(FILE *F, const ir_node *n)
fprintf(F, "%s &%s", name, get_entity_name(get_Address_entity(n)));
break;
case iro_Const:
ir_fprintf(F, "%s %T", name, get_Const_tarval(n));
break;
case iro_Offset:
fprintf(F, "%s %s", name, get_entity_name(get_Offset_entity(n)));
break;
......
Supports Markdown
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