projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa66e6b
)
irgwalk: Remove unnecessary skip_Id().
author
Christoph Mallon
<christoph.mallon@gmx.de>
Tue, 27 Nov 2012 09:10:44 +0000
(10:10 +0100)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Tue, 27 Nov 2012 10:16:16 +0000
(11:16 +0100)
n is produced by Id-skipping functions, so cannot be an Id node.
ir/ir/irgwalk.c
patch
|
blob
|
history
diff --git
a/ir/ir/irgwalk.c
b/ir/ir/irgwalk.c
index
11e7d32
..
d158a90
100644
(file)
--- a/
ir/ir/irgwalk.c
+++ b/
ir/ir/irgwalk.c
@@
-281,7
+281,6
@@
void irg_walk_in_or_dep_graph(ir_graph *irg, irg_walk_func *pre, irg_walk_func *
static ir_node *get_cf_op(ir_node *n)
{
while (!is_cfop(n) && !is_fragile_op(n) && !is_Bad(n)) {
- n = skip_Id(n);
n = skip_Tuple(n);
n = skip_Proj(n);
}