summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beutil.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2007-06-17 16:13:20 +0200
committerMatthias Braun <matze@braunis.de>2007-06-17 16:13:20 +0200
commitbb5461e3f6f900c09222814f2eec779684f28f73 (patch)
tree0f2c0e5747e81e76ae3518780d7ad12b8be6751d /ir/be/beutil.c
parent10e8d8749b8740ef7e585698cc254dc2e9fbaae8 (diff)
fixed a bunch of warnings (and some bugs)
[r14557]
Diffstat (limited to 'ir/be/beutil.c')
-rw-r--r--ir/be/beutil.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/ir/be/beutil.c b/ir/be/beutil.c
index d0498dd..e6d64dc 100644
--- a/ir/be/beutil.c
+++ b/ir/be/beutil.c
@@ -182,11 +182,12 @@ void be_dump(ir_graph *irg, const char *suffix, void (*dumper)(ir_graph *, const
static void collect_phis(ir_node *irn, void *data)
{
- if(is_Phi(irn)) {
- ir_node *bl = get_nodes_block(irn);
- set_irn_link(irn, get_irn_link(bl));
- set_irn_link(bl, irn);
- }
+ (void) data;
+ if(is_Phi(irn)) {
+ ir_node *bl = get_nodes_block(irn);
+ set_irn_link(irn, get_irn_link(bl));
+ set_irn_link(bl, irn);
+ }
}
void be_clear_links(ir_graph *irg)