add predecessor computation
This commit is contained in:
parent
1d62b4bf47
commit
935ab611f0
3 changed files with 51 additions and 3 deletions
|
@ -88,7 +88,9 @@ struct Blk {
|
|||
Blk *s2;
|
||||
|
||||
char name[NString];
|
||||
int rpo;
|
||||
Blk *link;
|
||||
Blk **preds;
|
||||
int npreds;
|
||||
};
|
||||
|
||||
struct Sym {
|
||||
|
@ -110,4 +112,8 @@ struct Fn {
|
|||
|
||||
|
||||
/* parse.c */
|
||||
void *alloc(size_t);
|
||||
Fn *parsefn(FILE *);
|
||||
|
||||
/* ssa.c */
|
||||
void fillpreds(Fn *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue