summaryrefslogtreecommitdiffhomepage
path: root/ir/stat
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2013-11-11 19:13:08 +0100
committerMatthias Braun <matze@braunis.de>2013-11-12 13:14:34 +0100
commitb41de678876346efeb779c9b8562d219acf3d484 (patch)
tree2df32ee820dcf58472d0cdcbedbb70897b8378e7 /ir/stat
parentbf8ff5926ce7a621db9fa9795e50d5d8f6eaf4e6 (diff)
get rid of mode_is_datab()
Most uses in the backend should be mode_is_data() the few remaining uses can compare with mode_b explicitely.
Diffstat (limited to 'ir/stat')
-rw-r--r--ir/stat/firmstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/stat/firmstat.c b/ir/stat/firmstat.c
index 1254403..88d75f3 100644
--- a/ir/stat/firmstat.c
+++ b/ir/stat/firmstat.c
@@ -619,7 +619,7 @@ static void undate_block_info(ir_node *node, graph_entry_t *graph)
block = get_nodes_block(node);
b_entry = block_get_entry(&graph->recalc_cnts, get_irn_node_nr(block), graph->block_hash);
- if (is_Phi(node) && mode_is_datab(get_irn_mode(node))) {
+ if (is_Phi(node) && get_irn_mode(node) != mode_M) {
/* count data Phi per block */
cnt_inc(&b_entry->cnt[bcnt_phi_data]);
}