[pypy-svn] r47323 - pypy/dist/pypy/rpython/memory

cfbolz at codespeak.net cfbolz at codespeak.net
Tue Oct 9 00:01:43 CEST 2007


Author: cfbolz
Date: Tue Oct  9 00:01:42 2007
New Revision: 47323

Modified:
   pypy/dist/pypy/rpython/memory/gc.py
Log:
more dead code


Modified: pypy/dist/pypy/rpython/memory/gc.py
==============================================================================
--- pypy/dist/pypy/rpython/memory/gc.py	(original)
+++ pypy/dist/pypy/rpython/memory/gc.py	Tue Oct  9 00:01:42 2007
@@ -40,11 +40,6 @@
     def write_barrier(self, addr, addr_to, addr_struct):
         addr_to.address[0] = addr
 
-    def free_memory(self):
-        #this will never be called at runtime, just during setup
-        "NOT_RPYTHON"
-        pass
-
     def setup(self):
         pass
 
@@ -971,13 +966,6 @@
         debug_assert(bool(self.fromspace), "couldn't allocate fromspace")
         self.free = self.tospace
 
-    def free_memory(self):
-        "NOT_RPYTHON"
-        llarena.arena_free(self.tospace)
-        self.tospace = NULL
-        llarena.arena_free(self.fromspace)
-        self.fromspace = NULL
-    
     def malloc_fixedsize(self, typeid, size, can_collect, has_finalizer=False,
                          contains_weakptr=False):
         if has_finalizer:



More information about the Pypy-commit mailing list