[pypy-svn] r12448 - pypy/dist/pypy/translator

arigo at codespeak.net arigo at codespeak.net
Wed May 18 17:23:06 CEST 2005


Author: arigo
Date: Wed May 18 17:23:06 2005
New Revision: 12448

Modified:
   pypy/dist/pypy/translator/translator.py
Log:
Quick hack to make calling ccompile() several times work.


Modified: pypy/dist/pypy/translator/translator.py
==============================================================================
--- pypy/dist/pypy/translator/translator.py	(original)
+++ pypy/dist/pypy/translator/translator.py	Wed May 18 17:23:06 2005
@@ -270,6 +270,7 @@
             return cfile
         mod = make_module_from_c(cfile,
             include_dirs=[os.path.join(autopath.this_dir, 'genc')])
+        self.concretetypes.clear()
         return getattr(mod, self.entrypoint.func_name)
 
     def llvmcompile(self, optimize=True):



More information about the Pypy-commit mailing list