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

fijal at codespeak.net fijal at codespeak.net
Mon Oct 12 18:03:23 CEST 2009


Author: fijal
Date: Mon Oct 12 18:03:21 2009
New Revision: 68345

Modified:
   pypy/branch/inline-fastpath-malloc/pypy/rpython/llinterp.py
   pypy/branch/inline-fastpath-malloc/pypy/rpython/lltypesystem/lloperation.py
Log:
Adjust names and meanings of lloperations introduced for GC & JIT interaction.


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 18:03:21 2009
@@ -848,7 +848,7 @@
     def op_gc_restore_exception(self, exc):
         raise NotImplementedError("gc_restore_exception")
 
-    def op_gc_nursery_size(self):
+    def op_gc_adr_of_nursery_end(self):
         raise NotImplementedError
 
     def op_gc_adr_of_nursery_pointer(self):

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 18:03:21 2009
@@ -439,9 +439,13 @@
     'gc_thread_run'       : LLOp(),
     'gc_thread_die'       : LLOp(),
     'gc_assume_young_pointers': LLOp(),
+
+    # ------- JIT & GC interaction, only for some GCs ----------
+    
     'gc_adr_of_nursery_pointer' : LLOp(),
     # ^^^ returns an address of nursery pointer, for later modifications
-    'gc_nursery_size'     : LLOp(),
+    'gc_adr_of_nursery_end' : LLOp(),
+    # ^^^ returns an address of pointer, since it can change at runtime
     
     # experimental operations in support of thread cloning, only
     # implemented by the Mark&Sweep GC



More information about the Pypy-commit mailing list