Author: Maciej Fijalkowski <[email protected]>
Branch:
Changeset: r78915:df812fe311a7
Date: 2015-08-11 16:54 +0200
http://bitbucket.org/pypy/pypy/changeset/df812fe311a7/
Log: reenable the 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
@@ -7352,7 +7352,9 @@
i3 = int_add(i1, i2)
setfield_gc(p0, ii, descr=valuedescr)
setfield_gc(p1, ii, descr=otherdescr)
- jump(p0, p1, ii2, ii, ii, ii)
+ i7 = same_as(ii)
+ i8 = same_as(ii)
+ jump(p0, p1, ii2, ii, i8, i7)
"""
expected = """
[p0, p1, ii, ii2, i1, i2]
@@ -7361,7 +7363,7 @@
setfield_gc(p1, ii, descr=otherdescr)
jump(p0, p1, ii2, ii, ii, ii)
"""
- self.optimize_loop(ops, expected)
+ self.optimize_loop(ops, expected, preamble)
def test_dont_specialize_on_boxes_equal(self):
ops = """
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit