changeset 44:b852eb00a629

Removed unused code.
author Janus Dam Nielsen <janus.nielsen@alexandra.dk>
date Tue, 26 May 2009 16:08:23 +0200
parents 36c1d4c0cb34
children d16b44bf5ca2
files pysmcl/range_analysis.py
diffstat 1 files changed, 0 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/pysmcl/range_analysis.py	Tue May 26 14:39:22 2009 +0200
+++ b/pysmcl/range_analysis.py	Tue May 26 16:08:23 2009 +0200
@@ -33,9 +33,6 @@
         print "========= Combining ==========="
         print "Node, env", node, env
 
-#         env = {}
-#         if set is []:
-#             env = set[0]
         class Visitor(ast.NodeVisitor):
 
             def __init__(self, prime):
@@ -57,11 +54,6 @@
                 env['_'] = range(self.prime, node.value, env)
                 return env
 
-#             def generic_visit(self, node):
-#                 new_env = super(Visitor, self).generic_visit(node)
-# #                print "Generic: ", node, new_env
-#                 return new_env
-
         r = Visitor(self.prime).visit(node)
         print "Result of combination", r
         print ""
@@ -125,12 +117,10 @@
         pass
 
     def visit_Name(self, id):
-#         print "id: ", id.id, self.range, self.env
         if id in self.env.keys():
             self.env[id.id] = combine_range(self.env[id.id], self.range)
         else:
             self.env[id.id] = self.range
-#        print "range:", self.result
 
     def visit_List(self, elts, ctx):
         pass