[pypy-svn] r48928 - pypy/branch/remove-extcompiler-rctypes/pypy/rpython/memory/gctransform
cfbolz at codespeak.net
cfbolz at codespeak.net
Thu Nov 22 16:37:00 CET 2007
Author: cfbolz
Date: Thu Nov 22 16:37:00 2007
New Revision: 48928
Modified:
pypy/branch/remove-extcompiler-rctypes/pypy/rpython/memory/gctransform/refcounting.py
Log:
(pedronis, cfbolz): there shouldn't be a dynamic deallocator pointer for CPy
Objects at all. Assert that.
Modified: pypy/branch/remove-extcompiler-rctypes/pypy/rpython/memory/gctransform/refcounting.py
==============================================================================
--- pypy/branch/remove-extcompiler-rctypes/pypy/rpython/memory/gctransform/refcounting.py (original)
+++ pypy/branch/remove-extcompiler-rctypes/pypy/rpython/memory/gctransform/refcounting.py Thu Nov 22 16:37:00 2007
@@ -254,6 +254,7 @@
return fptr
def dynamic_deallocation_funcptr_for_type(self, TYPE):
+ assert TYPE._gckind != 'cpy'
if TYPE in self.dynamic_deallocator_funcptrs:
return self.dynamic_deallocator_funcptrs[TYPE]
#print_call_chain(self)
More information about the Pypy-commit
mailing list