summaryrefslogtreecommitdiffhomepage
path: root/ir/be/becopyopt_t.h
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/be/becopyopt_t.h
parentf3209aa8d3fe148e180d1747e7360a8d8737e598 (diff)
rename proj attribute from Proj to num and change type to unsigned
Diffstat (limited to 'ir/be/becopyopt_t.h')
-rw-r--r--ir/be/becopyopt_t.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/becopyopt_t.h b/ir/be/becopyopt_t.h
index 6e7569a..e1f5b1a 100644
--- a/ir/be/becopyopt_t.h
+++ b/ir/be/becopyopt_t.h
@@ -53,7 +53,7 @@ static inline void set_irn_col(const arch_register_class_t *cls, ir_node *node,
arch_set_irn_register(node, reg);
}
-#define get_Perm_src(irn) (get_irn_n(get_Proj_pred(irn), get_Proj_proj(irn)))
+#define get_Perm_src(irn) (get_irn_n(get_Proj_pred(irn), get_Proj_num(irn)))
#define is_Perm_Proj(irn) (is_Proj(irn) && be_is_Perm(get_Proj_pred(irn)))
/**