[pypy-commit] pypy more-rposix: Temporary workaround, should be done differently.

amauryfa noreply at buildbot.pypy.org
Fri Nov 7 20:09:22 CET 2014


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: more-rposix
Changeset: r74380:3600a9d62002
Date: 2014-11-07 17:17 +0100
http://bitbucket.org/pypy/pypy/changeset/3600a9d62002/

Log:	Temporary workaround, should be done differently.

diff --git a/rpython/rlib/objectmodel.py b/rpython/rlib/objectmodel.py
--- a/rpython/rlib/objectmodel.py
+++ b/rpython/rlib/objectmodel.py
@@ -301,6 +301,8 @@
                 return ctx.appcall(func, *args_w)
         if sandboxed_name:
             func._sandbox_external_name = sandboxed_name
+            # XXX THIS IS NOT CORRECT. Only do this when config.sandbox.
+            func._dont_inline_ = True
         return func
     return wrap
 


More information about the pypy-commit mailing list