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
e669cdc1
Commit
e669cdc1
authored
Dec 02, 2009
by
Michael Beck
Browse files
Add a skip_Id() to make the following assert happy
[r26770]
parent
e559d782
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ir/irnode.c
View file @
e669cdc1
...
...
@@ -783,6 +783,7 @@ ir_node *get_Block_MacroBlock(const ir_node *block) {
/* Sets the macro block header of a block. */
void
set_Block_MacroBlock
(
ir_node
*
block
,
ir_node
*
mbh
)
{
assert
(
is_Block
(
block
));
mbh
=
skip_Id
(
mbh
);
assert
(
is_Block
(
mbh
));
set_irn_n
(
block
,
-
1
,
mbh
);
}
...
...
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