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
031078da
Commit
031078da
authored
Nov 29, 2012
by
Christoph Mallon
Browse files
arm: Simplify confusing condition.
parent
12aaa3fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/arm/arm_emitter.c
View file @
031078da
...
...
@@ -802,12 +802,9 @@ static void arm_emit_block_header(ir_node *block, ir_node *prev)
/* we don't need labels for fallthrough blocks, however switch-jmps
* are no fallthroughs */
if
(
pred_block
==
prev
&&
!
(
is_Proj
(
pred
)
&&
is_arm_SwitchJmp
(
get_Proj_pred
(
pred
))))
{
need_label
=
false
;
}
else
{
need_label
=
true
;
}
need_label
=
pred_block
!=
prev
||
(
is_Proj
(
pred
)
&&
is_arm_SwitchJmp
(
get_Proj_pred
(
pred
)));
}
else
{
need_label
=
true
;
}
...
...
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