diff options
Diffstat (limited to 'lisc/spill.c')
-rw-r--r-- | lisc/spill.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lisc/spill.c b/lisc/spill.c index 26b1c5a..ce40075 100644 --- a/lisc/spill.c +++ b/lisc/spill.c @@ -111,6 +111,14 @@ fillcost(Fn *fn) } symuse(b->jmp.arg, 1, n, fn); } + if (debug['S']) { + fprintf(stderr, "> Spill costs:\n"); + for (n=Tmp0; n<fn->ntmp; n++) + fprintf(stderr, "\t%-10s %d\n", + fn->sym[n].name, + fn->sym[n].cost); + fprintf(stderr, "\n"); + } } int |