Author: Alex Gaynor <[email protected]>
Branch: unroll-if-alt
Changeset: r46102:0a65df43b4ab
Date: 2011-07-29 23:20 -0700
http://bitbucket.org/pypy/pypy/changeset/0a65df43b4ab/
Log: Failing test, not sure how to fix it besides a special case :/
diff --git a/pypy/jit/metainterp/optimizeopt/test/test_optimizebasic.py
b/pypy/jit/metainterp/optimizeopt/test/test_optimizebasic.py
--- a/pypy/jit/metainterp/optimizeopt/test/test_optimizebasic.py
+++ b/pypy/jit/metainterp/optimizeopt/test/test_optimizebasic.py
@@ -4637,6 +4637,19 @@
"""
self.optimize_strunicode_loop(ops, expected)
+ def test_empty_copystrunicontent_virtual(self):
+ ops = """
+ [p0]
+ p1 = newstr(23)
+ copystrcontent(p0, p1, 0, 0, 0)
+ jump(p0)
+ """
+ expected = """
+ [p0]
+ jump(p0)
+ """
+ self.optimize_strunicode_loop(ops, expected)
+
class TestLLtype(BaseTestOptimizeBasic, LLtypeMixin):
pass
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit