Author: Hakan Ardo <[email protected]>
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]
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to