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
15bb20c1
Commit
15bb20c1
authored
Apr 07, 2014
by
Christoph Mallon
Browse files
irdump: Show the value of a Const when dumping its opcode.
parent
3c7cd773
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ir/irdump.c
View file @
15bb20c1
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
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