Commits

Armin Rigo  committed bbc29c6

probably a fix for translating the gc without card marking

  • Participants
  • Parent commits 4852d98

Comments (0)

Files changed (1)

File rpython/memory/gc/minimark.py

         # ^^^ a fast path of write-barrier
         #
         if source_hdr.tid & GCFLAG_HAS_CARDS != 0:
+            assert self.card_page_indices > 0
             #
             if source_hdr.tid & GCFLAG_TRACK_YOUNG_PTRS == 0:
                 # The source object may have random young pointers.