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
d26de5d6
Commit
d26de5d6
authored
Jan 12, 2015
by
Christoph Mallon
Browse files
be: Assert that nodes are scheduled in the same block as their predecessor/sucessor.
parent
961fd368
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/besched.c
View file @
d26de5d6
...
...
@@ -84,6 +84,7 @@ void sched_add_before(ir_node *before, ir_node *irn)
assert
(
!
sched_is_scheduled
(
irn
));
assert
(
!
is_Proj
(
before
));
assert
(
!
is_Proj
(
irn
));
assert
(
get_block_const
(
before
)
==
get_nodes_block
(
irn
));
info
->
prev
=
prev
;
info
->
next
=
next
;
...
...
@@ -103,6 +104,7 @@ void sched_add_after(ir_node *after, ir_node *irn)
assert
(
!
sched_is_scheduled
(
irn
));
assert
(
!
is_Proj
(
after
));
assert
(
!
is_Proj
(
irn
));
assert
(
get_block_const
(
after
)
==
get_nodes_block
(
irn
));
info
->
prev
=
prev
;
info
->
next
=
next
;
...
...
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