diff python/codegen.py @ 280:02385f62f250

Rework from str interface to Instruction interface
author Windel Bouwman
date Sat, 02 Nov 2013 10:03:26 +0100
parents ea93e0a7a31e
children 7b38782ed496
line wrap: on
line diff
--- a/python/codegen.py	Sat Oct 12 09:56:23 2013 +0200
+++ b/python/codegen.py	Sat Nov 02 10:03:26 2013 +0100
@@ -18,7 +18,7 @@
         obj = object()
         for gvar in ircode.Variables:
             print(gvar)
-            print('TODO')
+            raise Exception() # TODO
         for f in ircode.Functions:
             for bb in f.Blocks:
                 for ins in bb.Instructions: