fix some bugs, call ssa() in func()
This commit is contained in:
parent
351d0b4b61
commit
9f1ecf974e
2 changed files with 24 additions and 7 deletions
|
@ -47,9 +47,11 @@ func(Fn *fn)
|
|||
fprintf(stderr, "\n> After parsing:\n");
|
||||
printfn(fn, stderr);
|
||||
}
|
||||
isel(fn);
|
||||
fillrpo(fn);
|
||||
fillpreds(fn);
|
||||
ssa(fn);
|
||||
#if 0
|
||||
isel(fn);
|
||||
filllive(fn);
|
||||
fillcost(fn);
|
||||
spill(fn);
|
||||
|
@ -67,6 +69,7 @@ func(Fn *fn)
|
|||
printf("/* end function %s */\n\n", fn->name);
|
||||
} else
|
||||
fprintf(stderr, "\n");
|
||||
#endif
|
||||
freeall();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue