r110: fixed a bug caused by refactoring
This commit is contained in:
parent
08cbb09fcc
commit
e2b86d0332
2
align.c
2
align.c
|
|
@ -308,7 +308,7 @@ mm_reg1_t *mm_align_skeleton(void *km, const mm_mapopt_t *opt, const mm_idx_t *m
|
|||
else if (i < r) regs[i++] = regs[r]; // NB: this also move the regs[r].p pointer
|
||||
else ++i;
|
||||
}
|
||||
*n_regs_ = n_regs;
|
||||
*n_regs_ = i;
|
||||
mm_sync_regs(km, n_regs, regs);
|
||||
return regs;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue