Author: Hakan Ardo <[email protected]>
Branch: jit-short_from_state
Changeset: r44527:c445bce2ee37
Date: 2011-05-26 21:29 +0200
http://bitbucket.org/pypy/pypy/changeset/c445bce2ee37/
Log: setfields not cahced across loop boundaries
diff --git a/pypy/module/pypyjit/test_pypy_c/test_pypy_c_new.py
b/pypy/module/pypyjit/test_pypy_c/test_pypy_c_new.py
--- a/pypy/module/pypyjit/test_pypy_c/test_pypy_c_new.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_pypy_c_new.py
@@ -1063,6 +1063,7 @@
assert log.result == 1000000
loop, = log.loops_by_filename(self.filepath)
assert loop.match("""
+ i12 = getfield_gc(p4, descr=...)
i16 = int_ge(i12, i13)
guard_false(i16, descr=<Guard3>)
p17 = getarrayitem_gc(p15, i12, descr=<GcPtrArrayDescr>)
@@ -1079,7 +1080,7 @@
i28 = int_add_ovf(i10, i25)
guard_no_overflow(descr=<Guard7>)
--TICK--
- jump(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, i28, i25, i19, i13,
p14, p15, descr=<Loop0>)
+ jump(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9, i28, i25, i13, p14,
p15, descr=<Loop0>)
""")
def test_mutate_class(self):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit