summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beverify.c
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/beverify.c
parentf3209aa8d3fe148e180d1747e7360a8d8737e598 (diff)
rename proj attribute from Proj to num and change type to unsigned
Diffstat (limited to 'ir/be/beverify.c')
-rw-r--r--ir/be/beverify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/beverify.c b/ir/be/beverify.c
index 894ea18..c7b56b8 100644
--- a/ir/be/beverify.c
+++ b/ir/be/beverify.c
@@ -356,7 +356,7 @@ static void collect_spill(be_verify_spillslots_env_t *env, ir_node *node, ir_nod
static void collect_memperm(be_verify_spillslots_env_t *env, ir_node *node, ir_node *reload, ir_entity* ent)
{
ir_node *memperm = get_Proj_pred(node);
- int out = get_Proj_proj(node);
+ unsigned out = get_Proj_num(node);
ir_entity *spillent = be_get_MemPerm_out_entity(memperm, out);
be_check_entity(env, memperm, spillent);