[pypy-svn] r49806 - pypy/dist/pypy/translator/c
arigo at codespeak.net
arigo at codespeak.net
Fri Dec 14 20:07:59 CET 2007
Author: arigo
Date: Fri Dec 14 20:07:59 2007
New Revision: 49806
Modified:
pypy/dist/pypy/translator/c/database.py
Log:
Can't really use this assert any more.
Modified: pypy/dist/pypy/translator/c/database.py
==============================================================================
--- pypy/dist/pypy/translator/c/database.py (original)
+++ pypy/dist/pypy/translator/c/database.py Fri Dec 14 20:07:59 2007
@@ -164,9 +164,9 @@
self.containerstats[kind] = self.containerstats.get(kind, 0) + 1
self.containerlist.append(node)
if self.completed:
- assert not node.globalcontainer
- # non-global containers are found very late, e.g. _subarrays
- # via addresses introduced by the GC transformer
+ pass # we would like to fail here, but a few containers
+ # are found very late, e.g. _subarrays via addresses
+ # introduced by the GC transformer, or the type_info_table
return node
def get(self, obj):
More information about the Pypy-commit
mailing list