[pypy-svn] r32809 - pypy/dist/pypy/translator/c
arigo at codespeak.net
arigo at codespeak.net
Mon Oct 2 11:57:44 CEST 2006
Author: arigo
Date: Mon Oct 2 11:57:40 2006
New Revision: 32809
Modified:
pypy/dist/pypy/translator/c/gc.py
Log:
A subclass just to rename 'boehm rtti' to 'framework rtti' when relevant.
Modified: pypy/dist/pypy/translator/c/gc.py
==============================================================================
--- pypy/dist/pypy/translator/c/gc.py (original)
+++ pypy/dist/pypy/translator/c/gc.py Mon Oct 2 11:57:40 2006
@@ -276,6 +276,9 @@
def implementation(self):
yield 'char %s /* uninitialized */;' % self.name
+class FrameworkGcRuntimeTypeInfo_OpaqueNode(BoehmGcRuntimeTypeInfo_OpaqueNode):
+ nodekind = 'framework rtti'
+
class MoreExactBoehmGcPolicy(BoehmGcPolicy):
""" policy to experiment with giving some layout information to boehm. Use
@@ -389,10 +392,10 @@
pass
def rtti_type(self):
- return BoehmGcRuntimeTypeInfo_OpaqueNode.typename
+ return FrameworkGcRuntimeTypeInfo_OpaqueNode.typename
def rtti_node_factory(self):
- return BoehmGcRuntimeTypeInfo_OpaqueNode
+ return FrameworkGcRuntimeTypeInfo_OpaqueNode
def pre_pre_gc_code(self):
yield '#define USING_FRAMEWORK_GC'
More information about the Pypy-commit
mailing list