Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r50524:5a9a29b9c0ae
Date: 2011-12-14 23:50 +0100
http://bitbucket.org/pypy/pypy/changeset/5a9a29b9c0ae/

Log:    I know it contains a loop and thus cannot be inlined at all at the
        moment, but it doesn't hurt to disable it explicitly too

diff --git a/pypy/rpython/lltypesystem/rffi.py 
b/pypy/rpython/lltypesystem/rffi.py
--- a/pypy/rpython/lltypesystem/rffi.py
+++ b/pypy/rpython/lltypesystem/rffi.py
@@ -697,6 +697,8 @@
         return b.build()
 
     # str -> char*
+    # Can't inline this because of the raw address manipulation.
+    @jit.dont_look_inside
     def get_nonmovingbuffer(data):
         """
         Either returns a non-moving copy or performs neccessary pointer
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to