X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=ncomp%2Fnreg.c;h=e70bab465b452a009539cdaca61445ebb198b660;hb=ff031baabb850aacea256edf02b24bb53a639de5;hp=a2ac36eee4fb9715ea8f9514692f1dab792a0a8a;hpb=3b0a9d2fb19fe3e065aeeea6cc93e779f912b29e;p=cacao.git diff --git a/ncomp/nreg.c b/ncomp/nreg.c index a2ac36eee..e70bab465 100644 --- a/ncomp/nreg.c +++ b/ncomp/nreg.c @@ -587,9 +587,8 @@ static void allocate_scratch_registers() if (bptr->flags >= BBREACHED) { dst = bptr->instack; reg_init_temp(); - i = bptr[0].ipc; - len = bptr[1].ipc - i; - iptr = &instr[i]; + iptr = bptr->iinstr; + len = bptr->icount; while (--len >= 0) { src = dst; dst = iptr->dst;