Mercurial > lcfOS
diff python/ppci/frontends/ks/__init__.py @ 106:f2d980eef509
improved code generation
author | Windel Bouwman |
---|---|
date | Mon, 31 Dec 2012 18:26:56 +0100 |
parents | 6a303f835c6d |
children | 9e552d34bd60 |
line wrap: on
line diff
--- a/python/ppci/frontends/ks/__init__.py Mon Dec 31 17:35:17 2012 +0100 +++ b/python/ppci/frontends/ks/__init__.py Mon Dec 31 18:26:56 2012 +0100 @@ -21,7 +21,7 @@ self.ast = ast # Generate ir (a core.Module): - ir = KsIrGenerator().generateIr(context, ast) + ir = KsIrGenerator().generateIr(self.context, ast) return ir