[pypy-svn] r51797 - pypy/branch/unified-rtti/pypy/rpython/memory/gctransform
arigo at codespeak.net
arigo at codespeak.net
Fri Feb 22 16:18:02 CET 2008
Author: arigo
Date: Fri Feb 22 16:18:01 2008
New Revision: 51797
Modified:
pypy/branch/unified-rtti/pypy/rpython/memory/gctransform/framework.py
Log:
Explain why this implementation is not there.
Modified: pypy/branch/unified-rtti/pypy/rpython/memory/gctransform/framework.py
==============================================================================
--- pypy/branch/unified-rtti/pypy/rpython/memory/gctransform/framework.py (original)
+++ pypy/branch/unified-rtti/pypy/rpython/memory/gctransform/framework.py Fri Feb 22 16:18:01 2008
@@ -327,6 +327,10 @@
def consider_constant(self, TYPE, value):
self.layoutbuilder.consider_constant(TYPE, value, self.gcdata.gc)
+ def initialize_typeinfo(self, typeinfo, rtti, TYPE):
+ raise Exception("for now, the layoutbuilder should have found "
+ "all possible GC types - got %r" % (TYPE,))
+
#def get_type_id(self, TYPE):
# this method is attached to the instance and redirects to
# layoutbuilder.get_type_id().
More information about the Pypy-commit
mailing list