[pypy-svn] r78550 - pypy/branch/jit-unroll-loops/pypy/jit/metainterp/test
cfbolz at codespeak.net
cfbolz at codespeak.net
Sat Oct 30 18:36:45 CEST 2010
Author: cfbolz
Date: Sat Oct 30 18:36:42 2010
New Revision: 78550
Modified:
pypy/branch/jit-unroll-loops/pypy/jit/metainterp/test/test_optimizeopt.py
Log:
everything repeats
Modified: pypy/branch/jit-unroll-loops/pypy/jit/metainterp/test/test_optimizeopt.py
==============================================================================
--- pypy/branch/jit-unroll-loops/pypy/jit/metainterp/test/test_optimizeopt.py (original)
+++ pypy/branch/jit-unroll-loops/pypy/jit/metainterp/test/test_optimizeopt.py Sat Oct 30 18:36:42 2010
@@ -2204,12 +2204,16 @@
guard_true(i) []
jump(p1)
"""
- expected = """
+ preamble = """
[p1]
guard_class(p1, ConstClass(node_vtable2)) []
jump(p1)
"""
- self.optimize_loop(ops, expected)
+ expected = """
+ [p1]
+ jump(p1)
+ """
+ self.optimize_loop(ops, expected, preamble)
def test_oois_of_itself(self):
ops = """
More information about the Pypy-commit
mailing list