Author: Carl Friedrich Bolz <[email protected]>
Branch: typed-cells
Changeset: r75547:a7cc774428ec
Date: 2015-01-27 17:19 +0100
http://bitbucket.org/pypy/pypy/changeset/a7cc774428ec/
Log: fix test_pypy_c
diff --git a/pypy/module/pypyjit/test_pypy_c/test_misc.py
b/pypy/module/pypyjit/test_pypy_c/test_misc.py
--- a/pypy/module/pypyjit/test_pypy_c/test_misc.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_misc.py
@@ -117,12 +117,11 @@
guard_not_invalidated(descr=...)
i13 = int_add_ovf(i8, i9)
guard_no_overflow(descr=...)
- i10p = getfield_gc_pure(p10, descr=...)
- i10 = int_mul_ovf(2, i10p)
+ i10 = int_mul_ovf(2, i61)
guard_no_overflow(descr=...)
i14 = int_add_ovf(i13, i10)
guard_no_overflow(descr=...)
- setfield_gc(p7, p11, descr=...)
+ setfield_gc(p7, i11, descr=...)
i17 = int_sub_ovf(i4, 1)
guard_no_overflow(descr=...)
--TICK--
diff --git a/pypy/module/pypyjit/test_pypy_c/test_thread.py
b/pypy/module/pypyjit/test_pypy_c/test_thread.py
--- a/pypy/module/pypyjit/test_pypy_c/test_thread.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_thread.py
@@ -42,6 +42,7 @@
assert loop.match("""
i53 = int_lt(i48, i27)
guard_true(i53, descr=...)
+ guard_not_invalidated(descr=...)
i54 = int_add_ovf(i48, i47)
guard_no_overflow(descr=...)
--TICK--
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit