[pypy-svn] pypy default: fix this test; fromint is now a purefunction, no need for the guard_no_exception

antocuni commits-noreply at bitbucket.org
Tue Apr 19 09:33:06 CEST 2011


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: 
Changeset: r43463:5f1b8a8a3d4c
Date: 2011-04-19 09:32 +0200
http://bitbucket.org/pypy/pypy/changeset/5f1b8a8a3d4c/

Log:	fix this test; fromint is now a purefunction, no need for the
	guard_no_exception

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
@@ -68,7 +68,6 @@
             i7 = int_gt(i4, 1)
             guard_true(i7, descr=...)
             p9 = call(ConstClass(fromint), i4, descr=...)
-            guard_no_exception(descr=...)
             p11 = call(ConstClass(rbigint.mul), p5, p9, descr=...)
             guard_no_exception(descr=...)
             i13 = int_sub(i4, 1)


More information about the Pypy-commit mailing list