projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7662ea9
)
removed unused function
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Thu, 9 Feb 2006 12:57:01 +0000
(12:57 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Thu, 9 Feb 2006 12:57:01 +0000
(12:57 +0000)
[r7332]
ir/opt/gvn_pre.c
patch
|
blob
|
history
diff --git
a/ir/opt/gvn_pre.c
b/ir/opt/gvn_pre.c
index
388c5f4
..
f894cba
100644
(file)
--- a/
ir/opt/gvn_pre.c
+++ b/
ir/opt/gvn_pre.c
@@
-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.
*/