[pypy-commit] pypy result-in-resops: fix those tests, they're still fine
fijal
noreply at buildbot.pypy.org
Sun Oct 28 18:41:44 CET 2012
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: result-in-resops
Changeset: r58536:eb30095a8f30
Date: 2012-10-28 18:25 +0100
http://bitbucket.org/pypy/pypy/changeset/eb30095a8f30/
Log: fix those tests, they're still fine
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
@@ -615,9 +615,9 @@
escape(i3)
p1 = new_with_vtable(ConstClass(node_vtable))
p1sub = new_with_vtable(ConstClass(node_vtable2))
- setfield_gc(p1, i1, descr=valuedescr)
setfield_gc(p1sub, i1, descr=valuedescr)
setfield_gc(p1, p1sub, descr=nextdescr)
+ setfield_gc(p1, i1, descr=valuedescr)
jump(i1, p1, p2)
"""
# The same as test_p123_simple, but with a virtual containing another
@@ -630,10 +630,10 @@
p3sub = getfield_gc_r(p3, descr=nextdescr)
i3 = getfield_gc_i(p3sub, descr=valuedescr)
escape(i3)
- p1 = new_with_vtable(ConstClass(node_vtable))
p2sub = new_with_vtable(ConstClass(node_vtable2))
setfield_gc(p2sub, i1, descr=valuedescr)
setfield_gc(p2, p2sub, descr=nextdescr)
+ p1 = new_with_vtable(ConstClass(node_vtable))
jump(i1, p1, p2)
"""
# The same as test_p123_simple, but in the end the "old" p2 contains
More information about the pypy-commit
mailing list