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
91e6caeb
Commit
91e6caeb
authored
Jun 01, 2011
by
Christoph Mallon
Browse files
Assert that the given node in set_r_cur_block() has mode BB.
parent
7152d625
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ir/ircons.c
View file @
91e6caeb
...
...
@@ -557,7 +557,8 @@ void set_cur_block(ir_node *target)
void
set_r_cur_block
(
ir_graph
*
irg
,
ir_node
*
target
)
{
assert
(
target
==
NULL
||
irg
==
get_irn_irg
(
target
));
assert
(
target
==
NULL
||
get_irn_mode
(
target
)
==
mode_BB
);
assert
(
target
==
NULL
||
get_irn_irg
(
target
)
==
irg
);
irg
->
current_block
=
target
;
}
...
...
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