Author: Alex Gaynor <[email protected]>
Branch:
Changeset: r45704:983ca5a89054
Date: 2011-07-17 16:13 -0700
http://bitbucket.org/pypy/pypy/changeset/983ca5a89054/
Log: Added the descrs to the JIT test from Brett's last commit, the
actual resops were correct.
diff --git a/pypy/module/pypyjit/test_pypy_c/test_math.py
b/pypy/module/pypyjit/test_pypy_c/test_math.py
--- a/pypy/module/pypyjit/test_pypy_c/test_math.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_math.py
@@ -22,11 +22,11 @@
f1 = cast_int_to_float(i0)
i3 = float_le(f1, 0)
guard_false(i3, descr=...)
- f2 = call(ConstClass(log), f1)
- f3 = call(ConstClass(log10), f1)
+ f2 = call(ConstClass(log), f1, descr=<FloatCallDescr>)
+ f3 = call(ConstClass(log10), f1, descr=<FloatCallDescr>)
f4 = float_sub(f2, f3)
f5 = float_add(f0, f4)
i4 = int_add(i0, 1)
--TICK--
- jump(i4, i1, f5)
+ jump(..., descr=<Loop0>)
""")
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit