X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbessadestrsimple.c;h=88b15c6443e58e6919fdbbfde1d543cf637e7e8d;hb=d14c6378674f36728eacaf5dc7e4bb045ff9fbab;hp=75c8afdec0c697604c1eca4b07e6489084d5d15a;hpb=b1ba3383b1807b7b506b394eb5b3e0992ad60f34;p=libfirm diff --git a/ir/be/bessadestrsimple.c b/ir/be/bessadestrsimple.c index 75c8afdec..88b15c644 100644 --- a/ir/be/bessadestrsimple.c +++ b/ir/be/bessadestrsimple.c @@ -196,7 +196,7 @@ static void values_to_vars(ir_node *irn, void *env) { * 1) Simplest case (phi with a non-phi arg): * A single copy is inserted. * - * 2) Phi chain (phi (with phi-arg)* with non=phi arg): + * 2) Phi chain (phi (with phi-arg)* with non-phi arg): * Several copies are placed, each after returning from recursion. * * 3) Phi-loop: @@ -228,7 +228,7 @@ static ir_node *insert_copies(ssa_destr_env_t *sde, const arch_register_class_t /* In case this is a 'normal' phi we insert at the * end of the pred block before cf nodes */ - last_cpy = sched_skip(pred_blk, 0, sched_skip_cf_predicator, sde->aenv); + last_cpy = sched_skip(pred_blk, 0, sched_skip_cf_predicator, (void *)sde->aenv); last_cpy = sched_next(last_cpy); /* If we detect a loop stop recursion. */