Mercurial > lcfOS
comparison python/zcc.py @ 306:b145f8e6050b
Start on c3 rewrite
author | Windel Bouwman |
---|---|
date | Mon, 09 Dec 2013 19:00:21 +0100 |
parents | 0615b5308710 |
children | ff665880a6b0 |
comparison
equal
deleted
inserted
replaced
305:0615b5308710 | 306:b145f8e6050b |
---|---|
62 # Emit some custom start code: | 62 # Emit some custom start code: |
63 tg.startCode(outs) | 63 tg.startCode(outs) |
64 for ircode in c3b.build(srcs, imps): | 64 for ircode in c3b.build(srcs, imps): |
65 if not ircode: | 65 if not ircode: |
66 return | 66 return |
67 | |
68 # Optimization passes, TODO | 67 # Optimization passes, TODO |
69 | 68 |
70 if dumpir: | 69 if dumpir: |
71 ircode.dump() | 70 ircode.dump() |
72 | 71 |