[pypy-svn] r50136 - pypy/branch/llvmgcroot/pypy/translator/llvm
arigo at codespeak.net
arigo at codespeak.net
Thu Dec 27 14:57:38 CET 2007
Author: arigo
Date: Thu Dec 27 14:57:37 2007
New Revision: 50136
Modified:
pypy/branch/llvmgcroot/pypy/translator/llvm/funcnode.py
Log:
block.operations is not modified during this loop.
Modified: pypy/branch/llvmgcroot/pypy/translator/llvm/funcnode.py
==============================================================================
--- pypy/branch/llvmgcroot/pypy/translator/llvm/funcnode.py (original)
+++ pypy/branch/llvmgcroot/pypy/translator/llvm/funcnode.py Thu Dec 27 14:57:37 2007
@@ -52,7 +52,7 @@
# really SSA. Fix them now.
for block in graph.iterblocks():
rename = {}
- for op in list(block.operations):
+ for op in block.operations:
if rename:
op.args = [rename.get(v, v) for v in op.args]
if op.opname == 'gc_reload_possibly_moved':
More information about the Pypy-commit
mailing list