projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
adapted cost function signature
[libfirm]
/
ir
/
be
/
bestat.c
diff --git
a/ir/be/bestat.c
b/ir/be/bestat.c
index
48336b8
..
d68480a
100644
(file)
--- a/
ir/be/bestat.c
+++ b/
ir/be/bestat.c
@@
-108,6
+108,9
@@
static void stat_reg_pressure_block(ir_node *block, void *env) {
sched_foreach_reverse(block, irn) {
int cnt;
+ if(is_Phi(irn))
+ break;
+
live_nodes = be_liveness_transfer(aenv, cls, irn, live_nodes);
cnt = pset_count(live_nodes);