projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add assertions if set_cur_block() is tried for a block on a wrong irg.
[libfirm]
/
ir
/
opt
/
cfopt.c
diff --git
a/ir/opt/cfopt.c
b/ir/opt/cfopt.c
index
84d7322
..
d01d1a7
100644
(file)
--- a/
ir/opt/cfopt.c
+++ b/
ir/opt/cfopt.c
@@
-179,7
+179,7
@@
static void merge_blocks(ir_node *node, void *ctx)
}
/* normally, we would create a Bad block here, but this must be
}
/* normally, we would create a Bad block here, but this must be
- * prevented, so just set it
'
s cf to Bad.
+ * prevented, so just set its cf to Bad.
*/
if (is_Block_dead(new_block)) {
ir_graph *irg = get_irn_irg(node);
*/
if (is_Block_dead(new_block)) {
ir_graph *irg = get_irn_irg(node);