move some debug output out of main
This commit is contained in:
parent
7202c7dedf
commit
2a4fbbc6e0
2 changed files with 12 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue