[pypy-svn] r68352 - in pypy/branch/inline-fastpath-malloc/pypy/rpython: . lltypesystem

fijal at codespeak.net fijal at codespeak.net
Mon Oct 12 20:24:14 CEST 2009


Author: fijal
Date: Mon Oct 12 20:24:14 2009
New Revision: 68352

Modified:
   pypy/branch/inline-fastpath-malloc/pypy/rpython/llinterp.py
   pypy/branch/inline-fastpath-malloc/pypy/rpython/lltypesystem/lloperation.py
Log:
This is another needed operation


Modified: pypy/branch/inline-fastpath-malloc/pypy/rpython/llinterp.py
==============================================================================
--- pypy/branch/inline-fastpath-malloc/pypy/rpython/llinterp.py	(original)
+++ pypy/branch/inline-fastpath-malloc/pypy/rpython/llinterp.py	Mon Oct 12 20:24:14 2009
@@ -854,6 +854,9 @@
     def op_gc_adr_of_nursery_free(self):
         raise NotImplementedError
 
+    def op_gc_size_of_header(self):
+        raise NotImplementedError
+
     def op_gc_call_rtti_destructor(self, rtti, addr):
         if hasattr(rtti._obj, 'destructor_funcptr'):
             d = rtti._obj.destructor_funcptr

Modified: pypy/branch/inline-fastpath-malloc/pypy/rpython/lltypesystem/lloperation.py
==============================================================================
--- pypy/branch/inline-fastpath-malloc/pypy/rpython/lltypesystem/lloperation.py	(original)
+++ pypy/branch/inline-fastpath-malloc/pypy/rpython/lltypesystem/lloperation.py	Mon Oct 12 20:24:14 2009
@@ -446,6 +446,7 @@
     # ^^^ returns an address of nursery free pointer, for later modifications
     'gc_adr_of_nursery_top' : LLOp(),
     # ^^^ returns an address of pointer, since it can change at runtime
+    'gc_size_of_header'     : LLOp(),
     
     # experimental operations in support of thread cloning, only
     # implemented by the Mark&Sweep GC



More information about the Pypy-commit mailing list