Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r63155:972e776a277f
Date: 2013-04-08 21:38 +0200
http://bitbucket.org/pypy/pypy/changeset/972e776a277f/

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

diff --git a/rpython/rtyper/rptr.py b/rpython/rtyper/rptr.py
--- a/rpython/rtyper/rptr.py
+++ b/rpython/rtyper/rptr.py
@@ -234,6 +234,7 @@
 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):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to