[pypy-commit] pypy counter-decay: Fix the test.
arigo
noreply at buildbot.pypy.org
Tue Dec 20 17:15:19 CET 2011
Author: Armin Rigo <arigo at tunes.org>
Branch: counter-decay
Changeset: r50761:083617e059dd
Date: 2011-12-20 16:13 +0000
http://bitbucket.org/pypy/pypy/changeset/083617e059dd/
Log: Fix the test.
diff --git a/pypy/module/pypyjit/test_pypy_c/test_generators.py b/pypy/module/pypyjit/test_pypy_c/test_generators.py
--- a/pypy/module/pypyjit/test_pypy_c/test_generators.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_generators.py
@@ -21,9 +21,9 @@
assert loop.match_by_id("generator", """
i16 = force_token()
p45 = new_with_vtable(ConstClass(W_IntObject))
- setfield_gc(p45, i29, descr=<SignedFieldDescr .*>)
- setarrayitem_gc(p8, 0, p45, descr=<GcPtrArrayDescr>)
- i47 = arraylen_gc(p8, descr=<GcPtrArrayDescr>) # Should be removed by backend
+ setfield_gc(p45, i29, descr=<FieldS .*>)
+ setarrayitem_gc(p8, 0, p45, descr=<ArrayP .>)
+ i47 = arraylen_gc(p8, descr=<ArrayP .>) # Should be removed by backend
jump(..., descr=...)
""")
assert loop.match_by_id("subtract", """
More information about the pypy-commit
mailing list