[pypy-commit] pypy default: add an arrylen_gc to this so the test passes, it's killed by the backend (I wish we did DCE earlier)

alex_gaynor noreply at buildbot.pypy.org
Wed Jan 18 18:55:37 CET 2012


Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: 
Changeset: r51459:8f0e9fcd8de3
Date: 2012-01-18 11:55 -0600
http://bitbucket.org/pypy/pypy/changeset/8f0e9fcd8de3/

Log:	add an arrylen_gc to this so the test passes, it's killed by the
	backend (I wish we did DCE earlier)

diff --git a/pypy/module/micronumpy/test/test_zjit.py b/pypy/module/micronumpy/test/test_zjit.py
--- a/pypy/module/micronumpy/test/test_zjit.py
+++ b/pypy/module/micronumpy/test/test_zjit.py
@@ -349,7 +349,8 @@
         self.check_trace_count(1)
         self.check_simple_loop({'getinteriorfield_raw': 2, 'float_add': 1,
                                 'setinteriorfield_raw': 1, 'int_add': 2,
-                                'int_eq': 1, 'guard_false': 1, 'jump': 1})
+                                'int_eq': 1, 'guard_false': 1, 'jump': 1,
+                                'arraylen_gc': 1})
 
     def define_virtual_slice():
         return """


More information about the pypy-commit mailing list