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
baf5b832
Commit
baf5b832
authored
Jul 27, 2015
by
Christoph Mallon
Browse files
ir: Do not exclude some nodes from having their mode dumped.
parent
ec351574
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ir/irdump.c
View file @
baf5b832
...
...
@@ -724,24 +724,10 @@ static void dump_node_mode(FILE *F, const ir_node *n)
}
/* default implementation */
unsigned
iro
=
get_irn_opcode
(
n
);
switch
(
iro
)
{
case
iro_Address
:
case
iro_Align
:
case
iro_Cmp
:
case
iro_Member
:
case
iro_Offset
:
case
iro_Sel
:
case
iro_Size
:
break
;
default:
{
ir_mode
*
mode
=
get_irn_mode
(
n
);
if
((
mode
!=
mode_ANY
&&
mode
!=
mode_BAD
&&
mode
!=
mode_BB
&&
mode
!=
mode_M
&&
mode
!=
mode_T
&&
mode
!=
mode_X
)
||
iro
==
iro_Bad
||
iro
==
iro_Proj
)
fprintf
(
F
,
"%s"
,
get_mode_name
(
mode
));
}
}
ir_mode
*
const
mode
=
get_irn_mode
(
n
);
if
((
mode
!=
mode_ANY
&&
mode
!=
mode_BAD
&&
mode
!=
mode_BB
&&
mode
!=
mode_M
&&
mode
!=
mode_T
&&
mode
!=
mode_X
)
||
is_Bad
(
n
)
||
is_Proj
(
n
))
fprintf
(
F
,
"%s"
,
get_mode_name
(
mode
));
}
/**
...
...
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