comparison python/codegen.py @ 236:8786811a5a59

Fix pcrel
author Windel Bouwman
date Mon, 15 Jul 2013 20:15:31 +0200
parents 67b0feafe5ae
children ea93e0a7a31e
comparison
equal deleted inserted replaced
235:ff40407c0240 236:8786811a5a59
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.BasicBlocks:
24 print(bb)
25 for ins in bb.Instructions: 24 for ins in bb.Instructions:
26 # Instruction selection: 25 # Instruction selection:
27 print(ins)
28 #mi = self.tryMap(ins) 26 #mi = self.tryMap(ins)
27 pass
29 return obj 28 return obj
30 29
31 30