[pypy-svn] r77429 - pypy/trunk/pypy/jit/metainterp

antocuni at codespeak.net antocuni at codespeak.net
Tue Sep 28 11:36:11 CEST 2010


Author: antocuni
Date: Tue Sep 28 11:36:10 2010
New Revision: 77429

Modified:
   pypy/trunk/pypy/jit/metainterp/graphpage.py
Log:
aargh, my fault (in the resoperation-refactoring branch)! We cannot mutate the
arglist just because we are displaying it in the graph viewer



Modified: pypy/trunk/pypy/jit/metainterp/graphpage.py
==============================================================================
--- pypy/trunk/pypy/jit/metainterp/graphpage.py	(original)
+++ pypy/trunk/pypy/jit/metainterp/graphpage.py	Tue Sep 28 11:36:10 2010
@@ -191,8 +191,7 @@
     def getlinks(self):
         boxes = {}
         for op in self.all_operations:
-            args = op.getarglist()
-            args.append(op.result)
+            args = op.getarglist() + [op.result]
             for box in args:
                 if getattr(box, 'is_box', False):
                     boxes[box] = True



More information about the Pypy-commit mailing list