Mercurial > lcfOS
diff python/ppci/ir.py @ 310:e95e5572cd6d
Added utils doc page
author | Windel Bouwman |
---|---|
date | Fri, 13 Dec 2013 14:10:10 +0100 |
parents | 68b01c8abf8a |
children | 2c9768114877 |
line wrap: on
line diff
--- a/python/ppci/ir.py Fri Dec 13 13:51:02 2013 +0100 +++ b/python/ppci/ir.py Fri Dec 13 14:10:10 2013 +0100 @@ -2,6 +2,7 @@ Intermediate representation (IR) code classes. """ + class Module: """ Container unit for variables and functions. """ def __init__(self, name): @@ -369,6 +370,7 @@ def setTarget(self, t): self.Targets[0] = t + target = property(lambda s: s.Targets[0], setTarget) def __repr__(self):