[pypy-svn] r52830 - pypy/branch/jit-hotpath/pypy/jit/timeshifter

arigo at codespeak.net arigo at codespeak.net
Sat Mar 22 15:48:23 CET 2008


Author: arigo
Date: Sat Mar 22 15:48:23 2008
New Revision: 52830

Modified:
   pypy/branch/jit-hotpath/pypy/jit/timeshifter/rcontainer.py
   pypy/branch/jit-hotpath/pypy/jit/timeshifter/rdump.py
Log:
Translation fixes.

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	Sat Mar 22 15:48:23 2008
@@ -59,7 +59,7 @@
 
     VirtualStructCls = None # patched later with VirtualStruct
 
-    _attrs_ =  """TYPE PTRTYPE
+    _attrs_ =  """TYPE PTRTYPE name
                     firstsubstructdesc arrayfielddesc
                     innermostdesc
                     ptrkind

Modified: pypy/branch/jit-hotpath/pypy/jit/timeshifter/rdump.py
==============================================================================
--- pypy/branch/jit-hotpath/pypy/jit/timeshifter/rdump.py	(original)
+++ pypy/branch/jit-hotpath/pypy/jit/timeshifter/rdump.py	Sat Mar 22 15:48:23 2008
@@ -202,7 +202,7 @@
             if isinstance(container, vlist.VirtualList):
                 text += 'length %d' % len(container.item_boxes)
                 for i in range(len(container.item_boxes)):
-                    box = item_boxes.item_boxes[i]
+                    box = container.item_boxes[i]
                     self.emit_edge(id, self.add_redbox(box),
                                    'item_boxes[%d]' % i)
 



More information about the Pypy-commit mailing list