diff python/codegen/canon.py @ 300:158068af716c

yafm
author Windel Bouwman
date Tue, 03 Dec 2013 18:00:22 +0100
parents 9417caea2eb3
children
line wrap: on
line diff
--- a/python/codegen/canon.py	Sun Dec 01 18:37:23 2013 +0100
+++ b/python/codegen/canon.py	Tue Dec 03 18:00:22 2013 +0100
@@ -27,6 +27,7 @@
 
 # Rewrite rewrites call instructions into Eseq instructions.
 
+
 def rewriteStmt(stmt, frame):
     if isinstance(stmt, ir.Jump):
         pass
@@ -99,6 +100,7 @@
     else:
         raise NotImplementedError('NI: {}'.format(exp))
 
+
 def flattenStmt(stmt):
     if isinstance(stmt, ir.Jump):
         return [stmt]
@@ -125,4 +127,3 @@
     """
     i = list(flattenStmt(s) for s in block.instructions)
     block.instructions = list(chain.from_iterable(i))
-