[pypy-svn] r65366 - pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp

fijal at codespeak.net fijal at codespeak.net
Sat May 23 18:37:21 CEST 2009


Author: fijal
Date: Sat May 23 18:37:20 2009
New Revision: 65366

Modified:
   pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp/optimize3.py
Log:
I think this is what you meant


Modified: pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp/optimize3.py
==============================================================================
--- pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp/optimize3.py	(original)
+++ pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp/optimize3.py	Sat May 23 18:37:20 2009
@@ -83,9 +83,9 @@
                 newop = optimization.handle_op(self, newop)
                 if newop is None:
                     break
+            if newop is not None:
                 newop = newop.clone()
                 newop.args = self.new_arguments(op)
-            if newop is not None:
                 newoperations.append(newop)
         print "Length of the loop:", len(newoperations)
         self.loop.operations = newoperations



More information about the Pypy-commit mailing list