[pypy-svn] r77428 - pypy/branch/jitffi/pypy/jit/metainterp

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


Author: antocuni
Date: Tue Sep 28 11:34:24 2010
New Revision: 77428

Modified:
   pypy/branch/jitffi/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/branch/jitffi/pypy/jit/metainterp/graphpage.py
==============================================================================
--- pypy/branch/jitffi/pypy/jit/metainterp/graphpage.py	(original)
+++ pypy/branch/jitffi/pypy/jit/metainterp/graphpage.py	Tue Sep 28 11:34:24 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