start change of representation for registers

This commit is contained in:
Quentin Carbonneaux 2015-08-01 21:05:18 -04:00
parent cf307002d9
commit 8d2d674466
6 changed files with 82 additions and 90 deletions

View file

@ -33,13 +33,13 @@ main(int ac, char *av[])
switch (opt) {
case 'f': {
int tx, ntmp;
int s, nsym;
fprintf(stderr, "[Testing SSA Reconstruction:");
fillpreds(fn);
for (ntmp=fn->ntmp, tx=Tmp0; tx<ntmp; tx++) {
fprintf(stderr, " %s", fn->sym[tx].name);
ssafix(fn, tx);
for (nsym=fn->nsym, s=0; s<nsym; s++) {
fprintf(stderr, " %s", fn->sym[s].name);
ssafix(fn, s);
}
fprintf(stderr, "]\n");
break;