[pypy-svn] pypy jit-short_from_state: we dont want setitems in short preamble

hakanardo commits-noreply at bitbucket.org
Fri Apr 22 08:46:29 CEST 2011


Author: Hakan Ardo <hakan at debian.org>
Branch: jit-short_from_state
Changeset: r43522:2adfcc67af47
Date: 2011-04-21 16:29 +0200
http://bitbucket.org/pypy/pypy/changeset/2adfcc67af47/

Log:	we dont want setitems in short preamble

diff --git a/pypy/jit/metainterp/test/test_optimizeopt.py b/pypy/jit/metainterp/test/test_optimizeopt.py
--- a/pypy/jit/metainterp/test/test_optimizeopt.py
+++ b/pypy/jit/metainterp/test/test_optimizeopt.py
@@ -715,6 +715,7 @@
         """
         expected = """
         [p0]
+        setfield_gc(p0, 5, descr=valuedescr)        
         jump(p0)
         """
         self.optimize_loop(ops, expected, preamble)


More information about the Pypy-commit mailing list