projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed perm lowering again
[libfirm]
/
ir
/
be
/
becopystat.c
diff --git
a/ir/be/becopystat.c
b/ir/be/becopystat.c
index
affb818
..
7fa9c06
100644
(file)
--- a/
ir/be/becopystat.c
+++ b/
ir/be/becopystat.c
@@
-122,11
+122,13
@@
static void irg_stat_walker(ir_node *node, void *env) {
if (is_Block(node)) /* count all blocks */
curr_vals[I_BLOCKS]++;
if (is_Block(node)) /* count all blocks */
curr_vals[I_BLOCKS]++;
- if (is_
Phi(node) && is_firm_be_mode(get_irn_mode(node)
)) /* collect phis */
+ if (is_
Reg_Phi(node
)) /* collect phis */
pset_insert_ptr(all_phi_nodes, node);
pset_insert_ptr(all_phi_nodes, node);
- if (is_
Copy
(arch_env, node))
+ if (is_
Perm_Proj
(arch_env, node))
pset_insert_ptr(all_copy_nodes, node);
pset_insert_ptr(all_copy_nodes, node);
+
+ /* TODO: Add 2-Addr-Code nodes */
}
static void copystat_collect_irg(ir_graph *irg, arch_env_t *arch_env) {
}
static void copystat_collect_irg(ir_graph *irg, arch_env_t *arch_env) {