[pypy-commit] pypy stm-gc: Fix.

arigo noreply at buildbot.pypy.org
Mon Feb 20 14:18:54 CET 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: stm-gc
Changeset: r52676:b58347084ebb
Date: 2012-02-20 14:17 +0100
http://bitbucket.org/pypy/pypy/changeset/b58347084ebb/

Log:	Fix.

diff --git a/pypy/rpython/memory/gctypelayout.py b/pypy/rpython/memory/gctypelayout.py
--- a/pypy/rpython/memory/gctypelayout.py
+++ b/pypy/rpython/memory/gctypelayout.py
@@ -428,7 +428,7 @@
                 appendto = self.addresses_of_static_ptrs
             else:
                 return
-        elif hasattr(TYPE, "_hints") and TYPE._hints.get('thread_local'):
+        elif hasattr(TYPE, "_hints") and TYPE._hints.get('stm_thread_local'):
             # The exception data's value object is skipped: it's a thread-
             # local data structure.  We assume that objects are stored
             # only temporarily there, so it is always cleared at the point


More information about the pypy-commit mailing list