Mercurial > lcfOS
diff python/ppci/codegen/interferencegraph.py @ 313:04cf4d26a3bc
Added constant function
author | Windel Bouwman |
---|---|
date | Wed, 18 Dec 2013 18:02:26 +0100 |
parents | 6753763d3bec |
children | 38f5f298ce0e |
line wrap: on
line diff
--- a/python/ppci/codegen/interferencegraph.py Mon Dec 16 17:58:15 2013 +0100 +++ b/python/ppci/codegen/interferencegraph.py Wed Dec 18 18:02:26 2013 +0100 @@ -41,6 +41,7 @@ n.live_out = set.union(*(s.live_in for s in n.Succ)) else: n.live_out = set() + n.live_out = n.live_out | n.defs change = change or (_in != n.live_in) or (_out != n.live_out) # Construct interference graph: