Armin Rigo  committed 972e776

Attach this argument as an attribute here, to help debugging in case
I ever get the same translation crash again.

  • Participants
  • Parent commits 1c7e961

Comments (0)

Files changed (1)

File rpython/rtyper/

 class InteriorPtrRepr(Repr):
     def __init__(self, ptrtype):
         assert isinstance(ptrtype, lltype.InteriorPtr)
+        self._ptrtype = ptrtype     # for debugging
         self.v_offsets = []
         numitemoffsets = 0
         for i, offset in enumerate(ptrtype.offsets):