[pypy-svn] r66186 - pypy/branch/pyjitpl5/pypy/jit/metainterp

arigo at codespeak.net arigo at codespeak.net
Mon Jul 13 15:14:05 CEST 2009

Author: arigo
Date: Mon Jul 13 15:14:04 2009
New Revision: 66186

Revert r63474, which looks obscure and wrong.  It contains no bug
description nor any test that would show the bug, so it's cancelled
until it can be clearly explained.

Modified: pypy/branch/pyjitpl5/pypy/jit/metainterp/optimize4.py
--- pypy/branch/pyjitpl5/pypy/jit/metainterp/optimize4.py	(original)
+++ pypy/branch/pyjitpl5/pypy/jit/metainterp/optimize4.py	Mon Jul 13 15:14:04 2009
@@ -349,7 +349,7 @@
         op_fail = op.suboperations[0]
         assert op_fail.opnum == rop.FAIL
         for box in op_fail.args:
-            if isinstance(box, Const) or box not in self.nodes:
+            if isinstance(box, Const):
             self.prepare_rebuild_ops(self.nodes[box], rebuild_ops, memo, box)

More information about the Pypy-commit mailing list