Author: Armin Rigo <ar...@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.
+@jit.dont_look_inside
 def is_nonnull_longdouble(cdata):
     return _is_nonnull_longdouble(read_raw_longdouble_data(cdata))
 def is_nonnull_float(cdata, size):
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to