[pypy-svn] r78551 - pypy/branch/jit-unroll-loops/pypy/jit/metainterp/test
cfbolz at codespeak.net
cfbolz at codespeak.net
Sat Oct 30 18:38:12 CEST 2010
Author: cfbolz
Date: Sat Oct 30 18:38:09 2010
New Revision: 78551
Modified:
pypy/branch/jit-unroll-loops/pypy/jit/metainterp/test/test_optimizeopt.py
Log:
nothing is left
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:38:09 2010
@@ -2226,12 +2226,16 @@
guard_false(i2) []
jump(p0)
"""
- expected = """
+ preamble = """
[p0]
p1 = getfield_gc(p0, descr=nextdescr)
jump(p0)
"""
- self.optimize_loop(ops, expected)
+ expected = """
+ [p0]
+ jump(p0)
+ """
+ self.optimize_loop(ops, expected, preamble)
def test_remove_duplicate_pure_op(self):
ops = """
More information about the Pypy-commit
mailing list