summaryrefslogtreecommitdiffhomepage
path: root/ir/stat
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2014-09-17 16:00:05 +0200
committerMatthias Braun <matze@braunis.de>2014-09-17 17:17:44 +0200
commite628faf6cca8076e9c100e3e109da2f7172fcc2a (patch)
treeb4e05fa44820f4d71a2a7f733e0a3230cef91fbd /ir/stat
parentf3209aa8d3fe148e180d1747e7360a8d8737e598 (diff)
rename proj attribute from Proj to num and change type to unsigned
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 0ff9505..11a5945 100644
--- a/ir/stat/firmstat.c
+++ b/ir/stat/firmstat.c
@@ -834,7 +834,7 @@ static void stat_update_address(ir_node *node, graph_entry_t *graph)
ir_type *ent_tp = get_entity_type(ent);
if (get_method_calling_convention(ent_tp) & cc_this_call) {
- if (get_Proj_proj(base) == 0) {
+ if (get_Proj_num(base) == 0) {
/* THIS pointer */
cnt_inc(&graph->cnt[gcnt_this_adr]);
goto end_parameter;