[pypy-svn] r53165 - pypy/branch/jit-hotpath/pypy/jit/timeshifter
cfbolz at codespeak.net
cfbolz at codespeak.net
Sun Mar 30 22:05:41 CEST 2008
Author: cfbolz
Date: Sun Mar 30 22:05:41 2008
New Revision: 53165
Modified:
pypy/branch/jit-hotpath/pypy/jit/timeshifter/rcontainer.py
Log:
add repr
Modified: pypy/branch/jit-hotpath/pypy/jit/timeshifter/rcontainer.py
==============================================================================
--- pypy/branch/jit-hotpath/pypy/jit/timeshifter/rcontainer.py (original)
+++ pypy/branch/jit-hotpath/pypy/jit/timeshifter/rcontainer.py Sun Mar 30 22:05:41 2008
@@ -845,6 +845,10 @@
self.write_fields = False
# XXX what else is needed?
+ def __repr__(self):
+ return "<AccessInfo read_fields=%s, write_fields=%s>" % (
+ self.read_fields, self.write_fields)
+
class VirtualStruct(VirtualContainer):
_attrs_ = "typedesc access_info content_boxes".split()
More information about the Pypy-commit
mailing list