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
94dc8ff1
Commit
94dc8ff1
authored
Jan 08, 2008
by
Michael Beck
Browse files
do not use new_Bad(), as this depends on current_ir_graph, cast
[r17221]
parent
41cd9133
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/ir/irnode.c
View file @
94dc8ff1
...
...
@@ -884,7 +884,7 @@ ir_node *get_irn_MacroBlock(const ir_node *n) {
n
=
get_nodes_block
(
n
);
/* if the Block is Bad, do NOT try to get it's MB, it will fail. */
if
(
is_Bad
(
n
))
return
new_Bad
()
;
return
(
ir_node
*
)
n
;
}
return
get_Block_MacroBlock
(
n
);
}
...
...
Write
Preview
Supports
Markdown
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