[pypy-commit] pypy default: Issue #2369: on FreeBSD/PowerPC, "long double" is probably the same as

arigo pypy.commits at gmail.com
Thu Aug 18 03:01:44 EDT 2016


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r86259:559ab6a0936b
Date: 2016-08-18 09:00 +0200
http://bitbucket.org/pypy/pypy/changeset/559ab6a0936b/

Log:	Issue #2369: on FreeBSD/PowerPC, "long double" is probably the same
	as "double", so the JIT tries to look inside this function. Hide the
	function explicitly.

diff --git a/pypy/module/_cffi_backend/misc.py b/pypy/module/_cffi_backend/misc.py
--- a/pypy/module/_cffi_backend/misc.py
+++ b/pypy/module/_cffi_backend/misc.py
@@ -253,6 +253,7 @@
     sandboxsafe=True)
 
 # split here for JIT backends that don't support floats/longlongs/etc.
+ at jit.dont_look_inside
 def is_nonnull_longdouble(cdata):
     return _is_nonnull_longdouble(read_raw_longdouble_data(cdata))
 def is_nonnull_float(cdata, size):


More information about the pypy-commit mailing list