[pypy-svn] r65419 - pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp

fijal at codespeak.net fijal at codespeak.net
Tue May 26 05:37:32 CEST 2009


Author: fijal
Date: Tue May 26 05:37:32 2009
New Revision: 65419

Modified:
   pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp/optimize2.py
Log:
Leave a comment what to do next


Modified: pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp/optimize2.py
==============================================================================
--- pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp/optimize2.py	(original)
+++ pypy/branch/pyjitpl5-experiments/pypy/jit/metainterp/optimize2.py	Tue May 26 05:37:32 2009
@@ -2,7 +2,12 @@
 """ Simplified optimize.py
 """
 from pypy.jit.metainterp.resoperation import rop, ResOperation, opname
-from pypy.jit.metainterp.history import Const, Box
+from pypy.jit.metainterp.history import Const, Box, ConstInt
+
+# For anybody reading.
+# Next step is to fix this so cleanfields and dicts on specializer
+# (additional_*) would be r_dicts so they can consider
+# two different constants as the same.
 
 class VirtualizedListAccessedWithVariableArg(Exception):
     pass
@@ -110,7 +115,7 @@
             for field, (fieldnode, descr) in d.iteritems():
                 box = fieldnode.source
                 op.suboperations.append(ResOperation(rop.SETARRAYITEM_GC,
-                                 [node.source, field, box], None, descr))
+                             [node.source, field, box], None, descr))
         op.suboperations.append(op_fail)
         op.args = self.new_arguments(op)
         return op



More information about the Pypy-commit mailing list