[pypy-commit] pypy default: kill leftover code for debugging

antocuni noreply at buildbot.pypy.org
Wed Jul 6 19:34:12 CEST 2011


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: 
Changeset: r45369:eb32d6c7a487
Date: 2011-07-06 19:42 +0200
http://bitbucket.org/pypy/pypy/changeset/eb32d6c7a487/

Log:	kill leftover code for debugging

diff --git a/pypy/rpython/memory/gc/minimark.py b/pypy/rpython/memory/gc/minimark.py
--- a/pypy/rpython/memory/gc/minimark.py
+++ b/pypy/rpython/memory/gc/minimark.py
@@ -256,10 +256,6 @@
         # (may) contain a pointer to a young object.  Populated by
         # the write barrier: when we clear GCFLAG_TRACK_YOUNG_PTRS, we
         # add it to this list.
-        class Cls(self.AddressStack):
-            def append(self2, addr):
-                assert addr not in self2.tolist()
-                self.AddressStack.append(self2, addr)
         self.objects_pointing_to_young = self.AddressStack()
         #
         # Similar to 'objects_pointing_to_young', but lists objects


More information about the pypy-commit mailing list