summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bestate.c
diff options
context:
space:
mode:
authorMichael Beck <mm.beck@gmx.net>2011-03-02 23:53:34 +0100
committerMichael Beck <mm.beck@gmx.net>2011-03-02 23:53:34 +0100
commita7132dfaf81eacb718291bb00195ddc80767a128 (patch)
treec54157a8229b4f7d45a6580ae50dbe917f40eaca /ir/be/bestate.c
parent7ef5abc25f375591792e271084aaf26237dfaa25 (diff)
Fixed size_t related warnings.
Fixed typo.
Diffstat (limited to 'ir/be/bestate.c')
-rw-r--r--ir/be/bestate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ir/be/bestate.c b/ir/be/bestate.c
index 521929d..2a9b067 100644
--- a/ir/be/bestate.c
+++ b/ir/be/bestate.c
@@ -203,7 +203,7 @@ static void belady(minibelady_env_t *env, ir_node *block);
* Collects all values live-in at block @p block and all phi results in this
* block.
* Then it adds the best values (at most n_regs) to the blocks start_workset.
- * The phis among the remaining values get spilled: Introduce psudo-copies of
+ * The phis among the remaining values get spilled: Introduce pseudo-copies of
* their args to break interference and make it possible to spill them to the
* same spill slot.
*/
@@ -557,7 +557,7 @@ void be_assure_state(ir_graph *irg, const arch_register_t *reg, void *func_env,
info = env.spills;
while (info != NULL) {
be_ssa_construction_env_t senv;
- int i, len;
+ size_t i, len;
ir_node **phis;
be_ssa_construction_init(&senv, irg);