summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bestat.c
diff options
context:
space:
mode:
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>2011-01-07 00:36:57 +0100
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>2011-01-07 00:36:57 +0100
commit5244f95767968d8b59ef3f2031612b86474e2455 (patch)
treef31f1b7624fc12c8051e1caf747cc3421d2ed010 /ir/be/bestat.c
parentf859cb0b5cd7c13d3d017770fdbd0b606785b1d9 (diff)
Fixed some 64bit warnings because of mixing size_t and other types.
[r28221]
Diffstat (limited to 'ir/be/bestat.c')
-rw-r--r--ir/be/bestat.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ir/be/bestat.c b/ir/be/bestat.c
index be09837..bd2895f 100644
--- a/ir/be/bestat.c
+++ b/ir/be/bestat.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved.
+ * Copyright (C) 1995-2011 University of Karlsruhe. All right reserved.
*
* This file is part of libFirm.
*
@@ -52,7 +52,7 @@ struct pressure_walker_env_t {
be_lv_t *lv;
double insn_count;
double regpressure;
- int max_pressure;
+ size_t max_pressure;
const arch_register_class_t *cls;
};
@@ -63,7 +63,7 @@ static void check_reg_pressure_class(pressure_walker_env_t *env,
ir_graph *irg = env->irg;
ir_node *irn;
ir_nodeset_t live_nodes;
- int max_live;
+ size_t max_live;
ir_nodeset_init(&live_nodes);
be_liveness_end_of_block(env->lv, cls, block, &live_nodes);
@@ -71,7 +71,7 @@ static void check_reg_pressure_class(pressure_walker_env_t *env,
env->regpressure += max_live;
sched_foreach_reverse(block, irn) {
- int cnt;
+ size_t cnt;
if (is_Phi(irn))
break;