diff options
Diffstat (limited to 'lisc/isel.c')
-rw-r--r-- | lisc/isel.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lisc/isel.c b/lisc/isel.c index 09af1d1..fb9006b 100644 --- a/lisc/isel.c +++ b/lisc/isel.c @@ -679,6 +679,11 @@ isel(Fn *fn) b->nins = n; } + if (debug['C']) { + fprintf(stderr, "\n> After call lowering:\n"); + printfn(fn, stderr); + } + /* assign slots to fast allocs */ b = fn->start; assert(NAlign == 3 && "change n=4 and sz /= 4 below"); @@ -719,4 +724,9 @@ isel(Fn *fn) memcpy(b->ins, curi, n * sizeof b->ins[0]); b->nins = n; } + + if (debug['I']) { + fprintf(stderr, "\n> After instruction selection:\n"); + printfn(fn, stderr); + } } |