projects
/
cacao.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
basic block struct changed
[cacao.git]
/
ncomp
/
nreg.c
diff --git
a/ncomp/nreg.c
b/ncomp/nreg.c
index a2ac36eee4fb9715ea8f9514692f1dab792a0a8a..e70bab465b452a009539cdaca61445ebb198b660 100644
(file)
--- 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;