summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beinfo.c
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2011-02-08 19:08:39 +0100
committerMatthias Braun <matze@braunis.de>2011-02-08 19:08:39 +0100
commit0a4048fbaae21a969b0f03b066dde30a06968814 (patch)
treeff916daed1b368268afbe8c400664fbc3e2c271d /ir/be/beinfo.c
parent155e9851b72a453e87155dfde3de3126bd43a98f (diff)
further spread size_t
[r28337]
Diffstat (limited to 'ir/be/beinfo.c')
-rw-r--r--ir/be/beinfo.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/ir/be/beinfo.c b/ir/be/beinfo.c
index 953458f..51f4327 100644
--- a/ir/be/beinfo.c
+++ b/ir/be/beinfo.c
@@ -80,7 +80,8 @@ int be_nodes_equal(ir_node *node1, ir_node *node2)
const backend_info_t *info1 = be_get_info(node1);
const backend_info_t *info2 = be_get_info(node2);
size_t len = ARR_LEN(info1->out_infos);
- size_t arity = get_irn_arity(node1);
+ int arity = get_irn_arity(node1);
+ int in;
size_t i;
if (ARR_LEN(info2->out_infos) != len)
@@ -88,8 +89,8 @@ int be_nodes_equal(ir_node *node1, ir_node *node2)
assert(arity == get_irn_arity(node2));
- for (i = 0; i < arity; ++i) {
- if (info1->in_reqs[i] != info2->in_reqs[i])
+ for (in = 0; in < arity; ++in) {
+ if (info1->in_reqs[in] != info2->in_reqs[in])
return false;
}