diff python/ppci/codegen/codegen.py @ 348:442fb043d149

Added log option to zcc
author Windel Bouwman
date Sat, 08 Mar 2014 15:32:33 +0100
parents 3bb7dcfe5529
children c2ddc8a36f5e
line wrap: on
line diff
--- a/python/ppci/codegen/codegen.py	Fri Mar 07 17:05:32 2014 +0100
+++ b/python/ppci/codegen/codegen.py	Sat Mar 08 15:32:33 2014 +0100
@@ -49,7 +49,7 @@
     def generate(self, ircode, outs):
         """ Generate code into output stream """
         assert isinstance(ircode, ir.Module)
-        outs.selectSection('code')
+        outs.select_section('code')
 
         # Munch program into a bunch of frames. One frame per function.
         # Each frame has a flat list of abstract instructions.