add rpo test and some liveness code

This commit is contained in:
Quentin Carbonneaux 2015-07-15 18:01:38 -04:00
parent 58bd1de264
commit d7548fa5d7
6 changed files with 146 additions and 14 deletions

View file

@ -46,6 +46,7 @@ rporec(Blk *b, int x)
{
if (b->id >= 0)
return x;
b->id = 1;
if (b->s1)
x = rporec(b->s1, x);
if (b->s2)