changeset 82:a007c3619ecc

Cleanup in flow.py, removed old code.
author Janus Dam Nielsen <janus.nielsen@alexandra.dk>
date Fri, 29 May 2009 11:00:22 +0200
parents 7333e5dead5a
children 580d6f780a0d
files pysmcl/flow.py
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/pysmcl/flow.py	Fri May 29 10:59:23 2009 +0200
+++ b/pysmcl/flow.py	Fri May 29 11:00:22 2009 +0200
@@ -26,18 +26,11 @@
     worklist = []
 
     Flow().flow(function)
-#     function.in_values[key] = combine(function, bottom())
     worklist.append(function)
-#     for child in ast.walk(function):
-#         if(isinstance(child, ast.stmt)):
-#             child.in_values[key] = combine(child, bottom())
-#             print "Appending", child
-#             worklist.append(child)
 
     # main cycle
     while len(worklist) != 0:
         x = worklist.pop(0)
-#        print "Working", x, x.parents
         oldout = x.out_values[key]
         x.out_values[key] = combine(x, join(x.parents))
         if oldout != x.out_values[key]: