Author: Hakan Ardo <[email protected]>
Branch: jit-short_from_state
Changeset: r45639:836934d0268c
Date: 2011-07-14 10:24 +0200
http://bitbucket.org/pypy/pypy/changeset/836934d0268c/
Log: array accesses with variable indexes no longer supported
diff --git a/pypy/jit/metainterp/optimizeopt/test/test_optimizeopt.py
b/pypy/jit/metainterp/optimizeopt/test/test_optimizeopt.py
--- a/pypy/jit/metainterp/optimizeopt/test/test_optimizeopt.py
+++ b/pypy/jit/metainterp/optimizeopt/test/test_optimizeopt.py
@@ -6201,7 +6201,7 @@
def test_constant_getfield1(self):
ops = """
[p1, p187, i184]
- p188 = getarrayitem_gc(p187, i184, descr=<GcPtrArrayDescr>)
+ p188 = getarrayitem_gc(p187, 42, descr=<GcPtrArrayDescr>)
guard_value(p188, ConstPtr(myptr)) []
p25 = getfield_gc(ConstPtr(myptr), descr=otherdescr)
jump(p25, p187, i184)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit