summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bepeephole.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-12-14 23:08:22 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2012-12-15 22:03:44 +0100
commit12e124bcc9ed93a4037c5122d23e8a6c87f5ef46 (patch)
tree154842b346512a61c67cb09ecc12d18f45cbe757 /ir/be/bepeephole.c
parent1dc17ad9570fe445200a39c4217dc5703a11f012 (diff)
bepeephole: Inline be_peephole_new_node() into its only caller.
Diffstat (limited to 'ir/be/bepeephole.c')
-rw-r--r--ir/be/bepeephole.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/ir/be/bepeephole.c b/ir/be/bepeephole.c
index d048af2..6ff06f5 100644
--- a/ir/be/bepeephole.c
+++ b/ir/be/bepeephole.c
@@ -96,11 +96,6 @@ static void set_uses(ir_node *node)
}
}
-void be_peephole_new_node(ir_node * nw)
-{
- be_liveness_introduce(lv, nw);
-}
-
/**
* must be called from peephole optimisations before a node will be killed
* and its users will be redirected to new_node.
@@ -157,7 +152,7 @@ void be_peephole_exchange(ir_node *old, ir_node *nw)
be_peephole_before_exchange(old, nw);
sched_remove(old);
exchange(old, nw);
- be_peephole_new_node(nw);
+ be_liveness_introduce(lv, nw);
}
/**