Commits

Armin Rigo committed a8d2c3d

import stmgc/5575626c8253

  • Participants
  • Parent commits 0f519cc
  • Branches stmgc-c7

Comments (0)

Files changed (2)

File rpython/translator/stm/src_stm/revision

-510720112e4c
+5575626c8253

File rpython/translator/stm/src_stm/stm/weakref.c

 
             ssize_t size = 16;
             stm_char *wr = (stm_char *)WEAKREF_PTR(weakref, size);
-            char *real_wr = REAL_ADDRESS(stm_object_pages, wr);
+            char *real_wr = REAL_ADDRESS(pseg->pub.segment_base, wr);
             object_t *pointing_to = *(object_t **)real_wr;
             assert(pointing_to != NULL);
             if (!mark_visited_test(pointing_to)) {