提交 859e8fea authored 作者: Frederic's avatar Frederic

remove var not used.

上级 a24027b2
...@@ -322,7 +322,6 @@ class Stack(VM): ...@@ -322,7 +322,6 @@ class Stack(VM):
# apply_stack contains nodes # apply_stack contains nodes
apply_stack = list(self.base_apply_stack) apply_stack = list(self.base_apply_stack)
last_apply_stack_len = -1 last_apply_stack_len = -1
ls = []
#This record all function inputs/shared varibles and constants #This record all function inputs/shared varibles and constants
for var, data in self.storage_map.iteritems(): for var, data in self.storage_map.iteritems():
...@@ -636,7 +635,6 @@ class VM_Linker(link.LocalLinker): ...@@ -636,7 +635,6 @@ class VM_Linker(link.LocalLinker):
# XXX if k has no clients... what is it doing in the computation? # XXX if k has no clients... what is it doing in the computation?
if k.owner and k.clients: if k.owner and k.clients:
ls = [] ls = []
is_output = 0
for cl in k.clients: for cl in k.clients:
if cl[0] is not 'output': if cl[0] is not 'output':
ls += cl[0].outputs ls += cl[0].outputs
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论