projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fa5e95
)
Removed unused variable.
author
Sebastian Buchwald
<Sebastian.Buchwald@kit.edu>
Fri, 27 May 2011 13:44:32 +0000
(15:44 +0200)
committer
Sebastian Buchwald
<Sebastian.Buchwald@kit.edu>
Fri, 27 May 2011 13:47:35 +0000
(15:47 +0200)
The get_n in the foreach loop is a macro and not a use of the function.
ir/ir/iredges.c
patch
|
blob
|
history
diff --git
a/ir/ir/iredges.c
b/ir/ir/iredges.c
index
08afc4b
..
56c9f7e
100644
(file)
--- a/
ir/ir/iredges.c
+++ b/
ir/ir/iredges.c
@@
-519,9
+519,7
@@
static void build_edges_walker(ir_node *irn, void *data)
int i, n;
ir_edge_kind_t kind = w->kind;
ir_graph *irg = get_irn_irg(irn);
- get_edge_src_n_func_t *get_n;
- get_n = edge_kind_info[kind].get_n;
foreach_tgt(irn, i, n, kind) {
ir_node *pred = get_n(irn, i, kind);
edges_notify_edge_kind(irn, i, pred, NULL, kind, irg);