[pypy-svn] r24919 - pypy/branch/explicit-exceptions/translator/c

pedronis at codespeak.net pedronis at codespeak.net
Thu Mar 23 23:46:01 CET 2006


Author: pedronis
Date: Thu Mar 23 23:45:55 2006
New Revision: 24919

Modified:
   pypy/branch/explicit-exceptions/translator/c/funcgen.py
Log:
XXX reminder of leak problem with current code!



Modified: pypy/branch/explicit-exceptions/translator/c/funcgen.py
==============================================================================
--- pypy/branch/explicit-exceptions/translator/c/funcgen.py	(original)
+++ pypy/branch/explicit-exceptions/translator/c/funcgen.py	Thu Mar 23 23:45:55 2006
@@ -189,6 +189,7 @@
                 assert len(block.inputargs) == 1
                 # regular return block
                 if self.cpython_exc:
+                    # XXX leaks!
                     assert self.lltypemap(self.graph.getreturnvar()) == PyObjPtr
                     yield 'if (RPyExceptionOccurred()) {'
                     yield '\tRPyConvertExceptionToCPython(rpython_exc_value);'



More information about the Pypy-commit mailing list