[pypy-commit] pypy jit-short_from_state: array accesses with variable indexes no longer supported

hakanardo noreply at buildbot.pypy.org
Fri Jul 15 19:39:14 CEST 2011


Author: Hakan Ardo <hakan at debian.org>
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)


More information about the pypy-commit mailing list