[pypy-svn] r74386 - pypy/branch/chunked-list/pypy/translator
fijal at codespeak.net
fijal at codespeak.net
Wed May 5 21:32:43 CEST 2010
Author: fijal
Date: Wed May 5 21:32:41 2010
New Revision: 74386
Modified:
pypy/branch/chunked-list/pypy/translator/simplify.py
Log:
Always check boundaries. A test of performance mostly
Modified: pypy/branch/chunked-list/pypy/translator/simplify.py
==============================================================================
--- pypy/branch/chunked-list/pypy/translator/simplify.py (original)
+++ pypy/branch/chunked-list/pypy/translator/simplify.py Wed May 5 21:32:41 2010
@@ -229,8 +229,8 @@
if last_op.opname == 'getitem':
postfx = []
for exit in block.exits:
- if exit.exitcase is IndexError:
- postfx.append('idx')
+ #if exit.exitcase is IndexError:
+ postfx.append('idx')
elif exit.exitcase is KeyError:
postfx.append('key')
if postfx:
More information about the Pypy-commit
mailing list