add predecessor computation

This commit is contained in:
Quentin Carbonneaux 2015-07-10 11:41:11 -04:00
parent 1d62b4bf47
commit 935ab611f0
3 changed files with 51 additions and 3 deletions

View file

@ -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 *);