Mercurial > lcfOS
diff python/ir/__init__.py @ 158:9683a4cd848f
Added some functions for code generation
author | Windel Bouwman |
---|---|
date | Fri, 08 Mar 2013 16:52:44 +0100 |
parents | 8f3924b6076e |
children | 4348da5ca307 |
line wrap: on
line diff
--- a/python/ir/__init__.py Sun Mar 03 18:14:35 2013 +0100 +++ b/python/ir/__init__.py Fri Mar 08 16:52:44 2013 +0100 @@ -2,6 +2,7 @@ from .value import Value from .module import Type, FunctionType from .module import i8, i16, i32, void -from .instruction import AddInstruction, BinaryOperator, ImmLoadInstruction +from .module import printIr +from .instruction import *