[pypy-commit] pypy virtual-dicts: progress (these commit messages suck)

alex_gaynor noreply at buildbot.pypy.org
Tue Oct 25 00:36:57 CEST 2011


Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: virtual-dicts
Changeset: r48399:a6e23621d2bf
Date: 2011-10-24 18:36 -0400
http://bitbucket.org/pypy/pypy/changeset/a6e23621d2bf/

Log:	progress (these commit messages suck)

diff --git a/pypy/jit/metainterp/optimizeopt/virtualstate.py b/pypy/jit/metainterp/optimizeopt/virtualstate.py
--- a/pypy/jit/metainterp/optimizeopt/virtualstate.py
+++ b/pypy/jit/metainterp/optimizeopt/virtualstate.py
@@ -197,6 +197,10 @@
     def __init__(self, arraydescr):
         self.arraydescr = arraydescr
 
+    def _enum(self, virtual_state):
+        for s in self.fieldstate:
+            s.enum(virtual_state)
+
 
 class NotVirtualStateInfo(AbstractVirtualStateInfo):
     def __init__(self, value):


More information about the pypy-commit mailing list