diff options
-rw-r--r-- | lisc/isel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisc/isel.c b/lisc/isel.c index 2d69c4d..bace637 100644 --- a/lisc/isel.c +++ b/lisc/isel.c @@ -426,7 +426,7 @@ isel(Fn *fn) /* assign slots to fast allocs */ for (n=Tmp0; n<fn->ntmp; n++) fn->tmp[n].spill = 0; - memcpy(fn->svec, (int[3]){0, 0, 2}, 3 * sizeof(int)); + memset(fn->svec, 0, sizeof fn->svec); for (b=fn->start, i=b->ins; i-b->ins < b->nins; i++) if (OAlloc <= i->op && i->op <= OAlloc1) { |