Author: Alex Gaynor <[email protected]>
Branch: virtual-dicts
Changeset: r48394:c1ae43540abe
Date: 2011-10-24 16:49 -0400
http://bitbucket.org/pypy/pypy/changeset/c1ae43540abe/
Log: small amount of progress
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
@@ -193,6 +193,10 @@
def debug_header(self, indent):
debug_print(indent + 'VArrayStateInfo(%d):' % self.position)
+class VArrayStructStateInfo(AbstractVirtualStateInfo):
+ def __init__(self, arraydescr):
+ self.arraydescr = arraydescr
+
class NotVirtualStateInfo(AbstractVirtualStateInfo):
def __init__(self, value):
@@ -463,6 +467,9 @@
def make_varray(self, arraydescr):
return VArrayStateInfo(arraydescr)
+ def make_varraystruct(self, arraydescr):
+ return VArrayStructStateInfo(arraydescr)
+
class BoxNotProducable(Exception):
pass
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit