[pypy-svn] r24795 - pypy/dist/pypy/translator/c
mwh at codespeak.net
mwh at codespeak.net
Wed Mar 22 13:36:27 CET 2006
Author: mwh
Date: Wed Mar 22 13:36:26 2006
New Revision: 24795
Modified:
pypy/dist/pypy/translator/c/database.py
Log:
add a check that we don't call getcontainernode() on a new container too late.
Modified: pypy/dist/pypy/translator/c/database.py
==============================================================================
--- pypy/dist/pypy/translator/c/database.py (original)
+++ pypy/dist/pypy/translator/c/database.py Wed Mar 22 13:36:26 2006
@@ -107,6 +107,7 @@
try:
node = self.containernodes[container]
except KeyError:
+ assert not self.completed
T = typeOf(container)
if isinstance(T, (lltype.Array, lltype.Struct)):
if hasattr(self.gctransformer, 'consider_constant'):
More information about the Pypy-commit
mailing list