[pypy-commit] pypy default: I know it contains a loop and thus cannot be inlined at all at the
arigo
noreply at buildbot.pypy.org
Wed Dec 14 23:53:03 CET 2011
Author: Armin Rigo <arigo at tunes.org>
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
More information about the pypy-commit
mailing list