[pypy-svn] r7225 - pypy/trunk/src/pypy/translator

arigo at codespeak.net arigo at codespeak.net
Fri Nov 12 11:51:34 CET 2004


Author: arigo
Date: Fri Nov 12 11:51:33 2004
New Revision: 7225

Modified:
   pypy/trunk/src/pypy/translator/annrpython.py
Log:
Oups.  Not running the tests before a check-in...


Modified: pypy/trunk/src/pypy/translator/annrpython.py
==============================================================================
--- pypy/trunk/src/pypy/translator/annrpython.py	(original)
+++ pypy/trunk/src/pypy/translator/annrpython.py	Fri Nov 12 11:51:33 2004
@@ -232,7 +232,7 @@
         #  * self.annotated[block] == False:
         #      the input variables of the block are in self.bindings but we
         #      still have to consider all the operations in the block.
-        #  * self.annotated[block] == <original function object>:
+        #  * self.annotated[block] == True or <original function object>:
         #      analysis done (at least until we find we must generalize the
         #      input variables).
 
@@ -242,7 +242,7 @@
         elif cells is not None:
             self.mergeinputargs(block, cells)
         if not self.annotated[block]:
-            self.annotated[block] = fn
+            self.annotated[block] = fn or True
             try:
                 self.flowin(fn, block)
             except BlockedInference, e:



More information about the Pypy-commit mailing list