Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r1088:256d9b6aba2e Date: 2014-03-24 18:42 +0100 http://bitbucket.org/pypy/stmgc/changeset/256d9b6aba2e/
Log: fix 2e0533b4f814 diff --git a/c7/stm/weakref.c b/c7/stm/weakref.c --- a/c7/stm/weakref.c +++ b/c7/stm/weakref.c @@ -125,7 +125,9 @@ } ssize_t size = 16; - object_t *pointing_to = *WEAKREF_PTR(weakref, size); + stm_char *wr = (stm_char *)WEAKREF_PTR(weakref, size); + char *real_wr = REAL_ADDRESS(stm_object_pages, wr); + object_t *pointing_to = *(object_t **)real_wr; assert(pointing_to != NULL); if (!mark_visited_test(pointing_to)) { //assert(flag_page_private[(uintptr_t)weakref / 4096UL] != PRIVATE_PAGE); _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit