[pypy-svn] r9644 - pypy/dist/pypy/annotation

pedronis at codespeak.net pedronis at codespeak.net
Fri Mar 4 19:46:04 CET 2005


Author: pedronis
Date: Fri Mar  4 19:46:04 2005
New Revision: 9644

Modified:
   pypy/dist/pypy/annotation/bookkeeper.py
Log:
long-winded comment




Modified: pypy/dist/pypy/annotation/bookkeeper.py
==============================================================================
--- pypy/dist/pypy/annotation/bookkeeper.py	(original)
+++ pypy/dist/pypy/annotation/bookkeeper.py	Fri Mar  4 19:46:04 2005
@@ -251,7 +251,12 @@
         except KeyError:
             if isinstance(thing, FunctionType):
                 # XXX XXX XXX HAAAAAAAAAAAACK
+                # xxx we need a way to let know subsequent phases (the generator) about the specialized function
+                # the caller flowgraph as it is doesn't.
+                # This line just avoids that the flowgraph of the original function, which is what will be considered
+                # and compiled for now will be computed during generation itself
                 self.annotator.translator.getflowgraph(thing)
+                #
                 thing = func_with_new_name(thing, name or thing.func_name)
             elif isinstance(thing, (type, ClassType)):
                 assert not "not working yet"



More information about the Pypy-commit mailing list