Commit 389a5dd0 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

Print the value of const initializers instead of just <CONST>Const.

parent c96a263d
......@@ -403,8 +403,7 @@ static void dump_ir_initializers_to_file(FILE *F, const char *prefix,
break;
case IR_INITIALIZER_CONST:
value = get_initializer_const_value(initializer);
fprintf(F, "\t = <CONST>");
dump_node_opcode(F, value);
ir_fprintf(F, "\t = %F", value);
break;
case IR_INITIALIZER_COMPOUND:
if (is_Array_type(type)) {
......
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