[pypy-svn] r29861 - pypy/dist/pypy/translator/cli

antocuni at codespeak.net antocuni at codespeak.net
Sat Jul 8 18:50:29 CEST 2006


Author: antocuni
Date: Sat Jul  8 18:50:27 2006
New Revision: 29861

Modified:
   pypy/dist/pypy/translator/cli/gencli.py
Log:
The "more general way to handle constants" doesn't work :-)



Modified: pypy/dist/pypy/translator/cli/gencli.py
==============================================================================
--- pypy/dist/pypy/translator/cli/gencli.py	(original)
+++ pypy/dist/pypy/translator/cli/gencli.py	Sat Jul  8 18:50:27 2006
@@ -61,10 +61,9 @@
         self.gen_entrypoint()
         self.gen_pendings()
         self.db.collect_constants()
+        self.db.gen_constants(self.ilasm)        
         self.db.gen_delegate_types(self.ilasm)
         self.gen_pendings()
-        self.db.collect_constants()
-        self.db.gen_constants(self.ilasm)
         out.close()
         return self.tmpfile.strpath
 



More information about the Pypy-commit mailing list