[pypy-commit] pypy jit-short_from_state: support for array accesses with variable index was killed

hakanardo noreply at buildbot.pypy.org
Wed Jul 13 17:00:19 CEST 2011


Author: Hakan Ardo <hakan at debian.org>
Branch: jit-short_from_state
Changeset: r45558:5d3d1b3ab4f5
Date: 2011-07-13 10:38 +0200
http://bitbucket.org/pypy/pypy/changeset/5d3d1b3ab4f5/

Log:	support for array accesses with variable index was killed

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
@@ -2195,21 +2195,6 @@
         """
         self.optimize_loop(ops, expected)
         
-    def test_duplicate_getarrayitem_3(self):
-        ops = """
-        [p1, i0, i10]
-        i2 = getarrayitem_gc(p1, i10, descr=arraydescr2)
-        i4 = getarrayitem_gc(p1, i10, descr=arraydescr2)
-        i7 = int_add(i0, i4)
-        jump(p1, i7, i10)
-        """
-        expected = """
-        [p1, i0, i10, i6]
-        i7 = int_add(i0, i6)
-        jump(p1, i7, i10, i6)
-        """
-        self.optimize_loop(ops, expected)
-
     def test_duplicate_getarrayitem_after_setarrayitem_1(self):
         ops = """
         [p1, p2]


More information about the pypy-commit mailing list