[pypy-svn] pypy 32ptr-on-64bit: Fix.
arigo
commits-noreply at bitbucket.org
Sat Jan 29 15:36:44 CET 2011
Author: Armin Rigo <arigo at tunes.org>
Branch: 32ptr-on-64bit
Changeset: r41441:94c13bd0bf72
Date: 2011-01-28 17:32 +0100
http://bitbucket.org/pypy/pypy/changeset/94c13bd0bf72/
Log: Fix.
diff --git a/pypy/rpython/memory/gc/inspector.py b/pypy/rpython/memory/gc/inspector.py
--- a/pypy/rpython/memory/gc/inspector.py
+++ b/pypy/rpython/memory/gc/inspector.py
@@ -192,10 +192,9 @@
def unwriteobj(self, obj):
gc = self.gc
- gc.trace(obj, self._unwriteref, None)
+ gc.do_trace(obj, self._unwriteref, None)
- def _unwriteref(self, pointer, _):
- obj = pointer.address[0]
+ def _unwriteref(self, obj, _):
self.unadd(obj)
def unadd(self, obj):
More information about the Pypy-commit
mailing list