diff --git a/src/cmd/5g/ggen.c b/src/cmd/5g/ggen.c index cd59aef2b4..52c2cd4395 100644 --- a/src/cmd/5g/ggen.c +++ b/src/cmd/5g/ggen.c @@ -14,7 +14,7 @@ static Prog* appendp(Prog*, int, int, int, int32, int, int, int32); void defframe(Prog *ptxt, Bvec *bv) { - int i, first; + int i, j, first; uint32 frame; Prog *p, *p1; @@ -49,8 +49,8 @@ defframe(Prog *ptxt, Bvec *bv) patch(p, p1); } else { first = 1; - for(i=0; ito.offset2 = rnd(curfn->type->argwid, widthptr); @@ -39,8 +39,8 @@ defframe(Prog *ptxt, Bvec *bv) p = appendp(p, AREP, D_NONE, 0, D_NONE, 0); appendp(p, ASTOSL, D_NONE, 0, D_NONE, 0); } else { - for(i=0; i