Exemplo n.º 1
0
 def __init__(self, fn):
   SyntaxVisitor.__init__(self)
   
   self.fn = fn
   self.call_stack.append(fn)
   self.bound = set(fn.arg_names)
   self.seen_return = False 
Exemplo n.º 2
0
    def __init__(self, fn):
        SyntaxVisitor.__init__(self)

        self.fn = fn
        self.call_stack.append(fn)
        self.bound = set(fn.arg_names)
        self.seen_return = False
Exemplo n.º 3
0
 def __init__(self):
   SyntaxVisitor.__init__(self)
   self.mutable_types = None
   self.volatile_vars = ScopedSet()
   self.depends_on = {}
   self.safe_to_move = set([])
   self.curr_block_id = None
   self.block_contains_return = set([])
   self.may_alias = None
Exemplo n.º 4
0
 def __init__(self):
   SyntaxVisitor.__init__(self)
   self.bindings = {}
Exemplo n.º 5
0
 def __init__(self):
   SyntaxVisitor.__init__(self)
   self.var_names = set([])
Exemplo n.º 6
0
 def __init__(self):
     SyntaxVisitor.__init__(self)
     self.mutable_types = set([])
Exemplo n.º 7
0
 def __init__(self):
   SyntaxVisitor.__init__(self)
   self.ranges = {} 
   self.old_values = ScopedDict()
   self.old_values.push()
Exemplo n.º 8
0
 def __init__(self, fn):
   SyntaxVisitor.__init__(self)
   self.fn = fn
   self.bound = set(fn.arg_names)
Exemplo n.º 9
0
 def __init__(self):
     SyntaxVisitor.__init__(self)
     self.ranges = {}
     self.old_values = ScopedDict()
     self.old_values.push()
Exemplo n.º 10
0
 def __init__(self):
   SyntaxVisitor.__init__(self)
   self.live_vars = set([])
Exemplo n.º 11
0
 def __init__(self):
   
   SyntaxVisitor.__init__(self)
   self.counts = {}
Exemplo n.º 12
0
 def __init__(self):
   SyntaxVisitor.__init__(self)
   self.mutable_types = set([])
Exemplo n.º 13
0
 def __init__(self):
     SyntaxVisitor.__init__(self)
     self.live_vars = set([])
Exemplo n.º 14
0
    def __init__(self):

        SyntaxVisitor.__init__(self)
        self.counts = {}
Exemplo n.º 15
0
 def __init__(self):
     SyntaxVisitor.__init__(self)
     self.bindings = {}
Exemplo n.º 16
0
 def __init__(self):
     SyntaxVisitor.__init__(self)
     self.var_names = set([])