def visitType_Assign (self, node): dep_dict = {} compiler.calc_dependencies (node.val, dep_dict, 0) depend_list = dep_dict.keys () s = self.visit_saving (node.val) self.register_assignment (node.name.name, s, depend_list)
def visitType_Assign(self, node): dep_dict = {} compiler.calc_dependencies(node.val, dep_dict, 0) depend_list = list(dep_dict.keys()) s = self.visit_saving(node.val) self.register_assignment(node.name.name, s, depend_list)