summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beutil.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2008-08-01 11:24:36 +0200
committerMatthias Braun <matze@braunis.de>2008-08-01 11:24:36 +0200
commit2d9776010c3f48b99e88e4199f201ba8531dbde8 (patch)
treef2981de449721d59657c5db2f25d005a52d8873b /ir/be/beutil.c
parentb0d9cc1ccc75a33411f6e24d92eb6c6536d2281c (diff)
firm already had kill_node, no need to be_kill_node
[r20885]
Diffstat (limited to 'ir/be/beutil.c')
-rw-r--r--ir/be/beutil.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/ir/be/beutil.c b/ir/be/beutil.c
index 0aa9339..d800315 100644
--- a/ir/be/beutil.c
+++ b/ir/be/beutil.c
@@ -220,28 +220,6 @@ unsigned get_num_reachable_nodes(ir_graph *irg) {
}
/**
- * Sets all node inputs to BAD node.
- */
-void be_kill_node(ir_node *irn) {
- ir_graph *irg = get_irn_irg(irn);
-
- assert(!is_Bad(irn));
-
-#ifdef DEBUG_libfirm
- {
- int i, first;
- first = 0 - ! is_Block(irn);
-
- for (i = get_irn_arity(irn) - 1; i >= first; --i) {
- set_irn_n(irn, i, get_irg_bad(irg));
- }
- }
-#endif
-
- edges_node_deleted(irn, irg);
-}
-
-/**
* Gets the Proj with number pn from irn.
*/
ir_node *be_get_Proj_for_pn(const ir_node *irn, long pn) {