[pypy-svn] r12429 - pypy/dist/pypy/translator/llvm

cfbolz at codespeak.net cfbolz at codespeak.net
Wed May 18 02:43:33 CEST 2005


Author: cfbolz
Date: Wed May 18 02:43:33 2005
New Revision: 12429

Modified:
   pypy/dist/pypy/translator/llvm/genllvm.py
Log:
restore accidentally deleted module docstring.

Modified: pypy/dist/pypy/translator/llvm/genllvm.py
==============================================================================
--- pypy/dist/pypy/translator/llvm/genllvm.py	(original)
+++ pypy/dist/pypy/translator/llvm/genllvm.py	Wed May 18 02:43:33 2005
@@ -1,5 +1,13 @@
 """
-Generate a llvm .ll file from an annotated flowgraph.
+This is the entry point of genllvm. This file can also be used with python -i
+to interactively test genllvm.
+
+The class LLVMGenerator coordinates the creation of LLVM representations and
+drives the creation of the .ll file and the compilation:
+The methods get_repr loops over all Repr classes and calls there static get
+method. If this method returns None, it continues searching, else it returns
+the object. It caches representations so that only one is generated for a given
+object.
 """
 
 import autopath



More information about the Pypy-commit mailing list