basic block struct changed
[cacao.git] / ncomp / nreg.c
index a2ac36eee4fb9715ea8f9514692f1dab792a0a8a..e70bab465b452a009539cdaca61445ebb198b660 100644 (file)
@@ -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;