Mercurial > lcfOS
comparison python/zcc.py @ 107:1544e7a4aa98
Improvements
author | Windel Bouwman |
---|---|
date | Tue, 01 Jan 2013 17:16:05 +0100 |
parents | f2d980eef509 |
children | de3a68f677a5 |
comparison
equal
deleted
inserted
replaced
106:f2d980eef509 | 107:1544e7a4aa98 |
---|---|
40 # Generate code: | 40 # Generate code: |
41 bitcodeWriter = core.BitcodeWriter() | 41 bitcodeWriter = core.BitcodeWriter() |
42 with open(args.source + '.bc', 'wb') as f: | 42 with open(args.source + '.bc', 'wb') as f: |
43 bitcodeWriter.WriteModuleToFile(module, f) | 43 bitcodeWriter.WriteModuleToFile(module, f) |
44 | 44 |
45 | |
46 |