removed unused function
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Thu, 9 Feb 2006 12:57:01 +0000 (12:57 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Thu, 9 Feb 2006 12:57:01 +0000 (12:57 +0000)
[r7332]

ir/opt/gvn_pre.c

index 388c5f4..f894cba 100644 (file)
@@ -177,22 +177,6 @@ static void compute_avail_top_down(ir_node *block, void *ctx)
   dump_set(info->avail_out, "Avail_out", block);
 }
 
-/**
- * Get the leader of an expression. In Firm, only
- * Phi nodes can be leaders, all other 'leader' are
- * handled by the identify_remember mechanism right.
- */
-static ir_node *find_Phi_leader(ir_node *n)
-{
-  ir_node *l = get_irn_link(n);
-
-  if (l) {
-    assert(is_Phi(l));
-    return l;
-  }
-  return n;
-}  /* find_Phi_leader */
-
 /**
  * Returns the Phi-leader if one exists, else NULL.
  */