Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
389a5dd0
Commit
389a5dd0
authored
Sep 03, 2011
by
Christoph Mallon
Browse files
Print the value of const initializers instead of just <CONST>Const.
parent
c96a263d
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ir/irdumptxt.c
View file @
389a5dd0
...
...
@@ -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
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment