comparison python/codegen.py @ 274:ea93e0a7a31e

Move docs
author Windel Bouwman
date Wed, 04 Sep 2013 17:35:06 +0200
parents 8786811a5a59
children 02385f62f250
comparison
equal deleted inserted replaced
273:6b3a874edd6e 274:ea93e0a7a31e
18 obj = object() 18 obj = object()
19 for gvar in ircode.Variables: 19 for gvar in ircode.Variables:
20 print(gvar) 20 print(gvar)
21 print('TODO') 21 print('TODO')
22 for f in ircode.Functions: 22 for f in ircode.Functions:
23 for bb in f.BasicBlocks: 23 for bb in f.Blocks:
24 for ins in bb.Instructions: 24 for ins in bb.Instructions:
25 # Instruction selection: 25 # Instruction selection:
26 #mi = self.tryMap(ins) 26 #mi = self.tryMap(ins)
27 pass 27 pass
28 return obj 28 return obj