[pypy-svn] r44966 - pypy/branch/emptying-the-malloc-zoo-2/pypy/translator/c

mwh at codespeak.net mwh at codespeak.net
Thu Jul 12 15:40:22 CEST 2007


Author: mwh
Date: Thu Jul 12 15:40:21 2007
New Revision: 44966

Modified:
   pypy/branch/emptying-the-malloc-zoo-2/pypy/translator/c/gc.py
Log:
move BasicGcPolicy fractionally towards being complete


Modified: pypy/branch/emptying-the-malloc-zoo-2/pypy/translator/c/gc.py
==============================================================================
--- pypy/branch/emptying-the-malloc-zoo-2/pypy/translator/c/gc.py	(original)
+++ pypy/branch/emptying-the-malloc-zoo-2/pypy/translator/c/gc.py	Thu Jul 12 15:40:21 2007
@@ -48,6 +48,15 @@
     def gc_startup_code(self):
         return []
 
+    def struct_setup(self, structdefnode, rtti):
+        return None
+
+    def array_setup(self, arraydefnode):
+        return None
+
+    def rtti_type(self):
+        return ''
+
     def OP_GC_PUSH_ALIVE_PYOBJ(self, funcgen, op):
         expr = funcgen.expr(op.args[0])
         if expr == 'NULL':



More information about the Pypy-commit mailing list