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

fijal at codespeak.net fijal at codespeak.net
Mon Oct 12 17:46:18 CEST 2009


Author: fijal
Date: Mon Oct 12 17:46:17 2009
New Revision: 68343

Modified:
   pypy/branch/inline-fastpath-malloc/pypy/rpython/llinterp.py
   pypy/branch/inline-fastpath-malloc/pypy/rpython/lltypesystem/lloperation.py
Log:
I suppose these are operations that I need, not working so far


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 17:46:17 2009
@@ -848,6 +848,12 @@
     def op_gc_restore_exception(self, exc):
         raise NotImplementedError("gc_restore_exception")
 
+    def op_gc_nursery_size(self):
+        raise NotImplementedError
+
+    def op_gc_adr_of_nursery_pointer(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 17:46:17 2009
@@ -439,6 +439,10 @@
     'gc_thread_run'       : LLOp(),
     'gc_thread_die'       : LLOp(),
     'gc_assume_young_pointers': LLOp(),
+    'gc_adr_of_nursery_pointer' : LLOp(),
+    # ^^^ returns an address of nursery pointer, for later modifications
+    'gc_nursery_size'     : LLOp(),
+    
     # experimental operations in support of thread cloning, only
     # implemented by the Mark&Sweep GC
     'gc_x_swap_pool':       LLOp(canraise=(MemoryError,), canunwindgc=True),



More information about the Pypy-commit mailing list