[pypy-commit] pypy optresult-unroll: fix one test

fijal noreply at buildbot.pypy.org
Mon Aug 24 10:31:24 CEST 2015


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: optresult-unroll
Changeset: r79183:df8324a1d7b4
Date: 2015-08-24 10:31 +0200
http://bitbucket.org/pypy/pypy/changeset/df8324a1d7b4/

Log:	fix one test

diff --git a/rpython/jit/metainterp/optimizeopt/test/test_optimizeopt.py b/rpython/jit/metainterp/optimizeopt/test/test_optimizeopt.py
--- a/rpython/jit/metainterp/optimizeopt/test/test_optimizeopt.py
+++ b/rpython/jit/metainterp/optimizeopt/test/test_optimizeopt.py
@@ -7613,7 +7613,7 @@
         [p0]
         p1 = getfield_gc_r(p0, descr=nextdescr)
         guard_nonnull(p1) []
-        i1 = arraylen_gc(p1)
+        i1 = arraylen_gc(p1, descr=gcarraydescr)
         i2 = int_ge(i1, 8)
         guard_true(i2) []
         p2 = getarrayitem_gc_r(p1, 7, descr=gcarraydescr)
@@ -7622,7 +7622,7 @@
         expected = """
         [p0, p1, p2]
         call_n(p2, descr=nonwritedescr)
-        i3 = arraylen_gc(p1) # Should be killed by backend
+        i3 = arraylen_gc(p1, descr=gcarraydescr) # Should be killed by backend
         jump(p0, p1, p2)
         """
         self.optimize_loop(ops, expected, expected_short=short)


More information about the pypy-commit mailing list