[pypy-svn] r79716 - pypy/trunk/pypy/rpython
arigo at codespeak.net
arigo at codespeak.net
Wed Dec 1 17:17:43 CET 2010
Author: arigo
Date: Wed Dec 1 17:17:40 2010
New Revision: 79716
Modified:
pypy/trunk/pypy/rpython/extfunc.py
Log:
Add a dont_look_inside. See comment.
Modified: pypy/trunk/pypy/rpython/extfunc.py
==============================================================================
--- pypy/trunk/pypy/rpython/extfunc.py (original)
+++ pypy/trunk/pypy/rpython/extfunc.py Wed Dec 1 17:17:40 2010
@@ -201,6 +201,11 @@
exec py.code.compile("""
from pypy.rlib.objectmodel import running_on_llinterp
from pypy.rlib.debug import llinterpcall
+ from pypy.rlib.jit import dont_look_inside
+ # note: we say 'dont_look_inside' mostly because the
+ # JIT does not support 'running_on_llinterp', but in
+ # theory it is probably right to stop jitting anyway.
+ @dont_look_inside
def ll_wrapper(%s):
if running_on_llinterp:
return llinterpcall(s_result, fakeimpl, %s)
More information about the Pypy-commit
mailing list