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
298d1b3e
Commit
298d1b3e
authored
Dec 31, 2014
by
Christoph Mallon
Browse files
beblocksched: Do not test for Jmp nodes.
There are no middleend jump nodes at this point anymore.
parent
64a5a685
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/beblocksched.c
View file @
298d1b3e
...
...
@@ -62,8 +62,7 @@ static void remove_empty_block(ir_node *block)
ir_node
*
jump
=
NULL
;
sched_foreach
(
block
,
node
)
{
if
(
!
is_Jmp
(
node
)
&&
!
(
arch_get_irn_flags
(
node
)
&
arch_irn_flag_simple_jump
))
if
(
!
(
arch_get_irn_flags
(
node
)
&
arch_irn_flag_simple_jump
))
goto
check_preds
;
if
(
jump
!=
NULL
)
{
/* we should never have 2 jumps in a block */
...
...
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