[pypy-svn] r68750 - pypy/branch/gc-dump-heap/pypy/rlib

fijal at codespeak.net fijal at codespeak.net
Mon Oct 26 15:15:34 CET 2009


Author: fijal
Date: Mon Oct 26 15:15:34 2009
New Revision: 68750

Modified:
   pypy/branch/gc-dump-heap/pypy/rlib/rgc.py
Log:
Kill this helper. If not for anything else, it has no test.


Modified: pypy/branch/gc-dump-heap/pypy/rlib/rgc.py
==============================================================================
--- pypy/branch/gc-dump-heap/pypy/rlib/rgc.py	(original)
+++ pypy/branch/gc-dump-heap/pypy/rlib/rgc.py	Mon Oct 26 15:15:34 2009
@@ -184,15 +184,6 @@
         hop.exception_cannot_occur()
         return hop.genop('gc_can_move', hop.args_v, resulttype=hop.r_result)
 
-def dump_heap(fd):
-    import os
-    
-    tb = _dump_heap()
-    for i in range(len(tb)):
-        next = tb[i]
-        os.write(fd, str(next.count) + " " + ",".join([
-            str(next.links[j]) for j in range(len(tb))]) + "\n")
-
 def _dump_heap():
     raise NotImplementedError # can't be run directly
 



More information about the Pypy-commit mailing list