Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
de1a81b0
Commit
de1a81b0
authored
Apr 18, 2016
by
Christoph Mallon
Browse files
ia32: Reduce variable scope.
parent
77504a65
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_new_nodes.c
View file @
de1a81b0
...
...
@@ -135,8 +135,6 @@ static void ia32_dump_immediate(FILE *const F, ir_entity *const entity,
void
ia32_dump_node
(
FILE
*
F
,
const
ir_node
*
n
,
dump_reason_t
reason
)
{
ir_mode
*
mode
=
NULL
;
switch
(
reason
)
{
case
dump_node_opcode_txt
:
fprintf
(
F
,
"%s"
,
get_irn_opname
(
n
));
...
...
@@ -157,11 +155,12 @@ void ia32_dump_node(FILE *F, const ir_node *n, dump_reason_t reason)
}
break
;
case
dump_node_mode_txt
:
mode
=
get_ia32_ls_mode
(
n
);
if
(
mode
!=
NULL
)
case
dump_node_mode_txt
:
{
ir_mode
*
const
mode
=
get_ia32_ls_mode
(
n
);
if
(
mode
)
fprintf
(
F
,
"[%s]"
,
get_mode_name
(
mode
));
break
;
}
case
dump_node_nodeattr_txt
:
if
(
!
is_ia32_Lea
(
n
))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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