diff python/codegen.py @ 274:ea93e0a7a31e

Move docs
author Windel Bouwman
date Wed, 04 Sep 2013 17:35:06 +0200
parents 8786811a5a59
children 02385f62f250
line wrap: on
line diff
--- a/python/codegen.py	Mon Sep 02 17:40:21 2013 +0200
+++ b/python/codegen.py	Wed Sep 04 17:35:06 2013 +0200
@@ -20,7 +20,7 @@
             print(gvar)
             print('TODO')
         for f in ircode.Functions:
-            for bb in f.BasicBlocks:
+            for bb in f.Blocks:
                 for ins in bb.Instructions:
                     # Instruction selection:
                     #mi = self.tryMap(ins)