Author: Carl Friedrich Bolz <cfb...@gmx.de>
Branch: guard-compatible
Changeset: r85433:cedd97e275af
Date: 2016-06-28 14:46 +0200
http://bitbucket.org/pypy/pypy/changeset/cedd97e275af/

Log:    this test shows a problem: we now get 88 bridges(!)

diff --git a/rpython/jit/metainterp/test/test_compatible.py 
b/rpython/jit/metainterp/test/test_compatible.py
--- a/rpython/jit/metainterp/test/test_compatible.py
+++ b/rpython/jit/metainterp/test/test_compatible.py
@@ -370,6 +370,12 @@
         p2 = lltype.malloc(S)
         p2.x = 1
 
+        p3 = lltype.malloc(S)
+        p3.x = 2
+
+        p4 = lltype.malloc(S)
+        p4.x = 2
+
         driver = jit.JitDriver(greens = [], reds = ['n'])
 
         class A(object):
@@ -402,6 +408,12 @@
             f(1000)
             glob_b.x = p2
             f(1000)
+            glob_b.x = p3
+            f(1000)
+            glob_b.x = p4
+            f(1000)
+            glob_b.x = p1
+            f(1000)
             return c.count
 
         x = self.meta_interp(main, [])
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to