[pypy-svn] r48114 - pypy/dist/pypy/translator/backendopt

fijal at codespeak.net fijal at codespeak.net
Sat Oct 27 18:31:17 CEST 2007


Author: fijal
Date: Sat Oct 27 18:31:17 2007
New Revision: 48114

Modified:
   pypy/dist/pypy/translator/backendopt/constfold.py
Log:
Revert 47798 as this have broke tests. I don't understand how to fix
it properly though.


Modified: pypy/dist/pypy/translator/backendopt/constfold.py
==============================================================================
--- pypy/dist/pypy/translator/backendopt/constfold.py	(original)
+++ pypy/dist/pypy/translator/backendopt/constfold.py	Sat Oct 27 18:31:17 2007
@@ -31,7 +31,7 @@
         except AttributeError:
             sideeffects = True
         else:
-            if op.tryfold and len(args) == len(vargs):
+            if len(args) == len(vargs):
                 RESTYPE = spaceop.result.concretetype
                 try:
                     result = op(RESTYPE, *args)



More information about the Pypy-commit mailing list