Author: Wim Lavrijsen <[email protected]>
Branch: reflex-support
Changeset: r45399:012bea4f7b9b
Date: 2011-07-06 16:53 -0700
http://bitbucket.org/pypy/pypy/changeset/012bea4f7b9b/
Log: fix translation problem in JIT generation
diff --git a/pypy/module/cppyy/converter.py b/pypy/module/cppyy/converter.py
--- a/pypy/module/cppyy/converter.py
+++ b/pypy/module/cppyy/converter.py
@@ -350,6 +350,9 @@
def __init__(self, space, cpptype):
self.cpptype = cpptype
+ # TODO: factor out the direct_ptradd into a smaller function (so that the
+ # JIT can look into the rest of the code)
+ @jit.dont_look_inside
def convert_argument(self, space, w_obj):
from pypy.module.cppyy.interp_cppyy import W_CPPInstance
w_cppinstance = space.findattr(w_obj, space.wrap("_cppinstance"))
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit