projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ia32: fix overly conservative upper_bits_clean (by avoiding undefined behaviour)
[libfirm]
/
ir
/
opt
/
critical_edges.c
diff --git
a/ir/opt/critical_edges.c
b/ir/opt/critical_edges.c
index
4d8eaba
..
765f032
100644
(file)
--- a/
ir/opt/critical_edges.c
+++ b/
ir/opt/critical_edges.c
@@
-69,7
+69,7
@@
static void walk_critical_cf_edges(ir_node *n, void *env)
cfop = get_irn_op(skip_Proj(pre));
if (is_op_fragile(cfop)) {
cfop = get_irn_op(skip_Proj(pre));
if (is_op_fragile(cfop)) {
- if (cenv->ignore_exc_edges &&
get_Proj_proj(pre) == pn_Generic_X_except
)
+ if (cenv->ignore_exc_edges &&
is_x_except_Proj(pre)
)
continue;
goto insert;
}
continue;
goto insert;
}
@@
-107,7
+107,6
@@
void remove_critical_cf_edges_ex(ir_graph *irg, int ignore_exception_edges)
/* control flow changed */
set_irg_extblk_inconsistent(irg);
set_irg_doms_inconsistent(irg);
/* control flow changed */
set_irg_extblk_inconsistent(irg);
set_irg_doms_inconsistent(irg);
- set_irg_loopinfo_inconsistent(irg);
}
}
}
}