[pypy-svn] r79451 - pypy/branch/reflex-support/pypy/module/cppyy
cfbolz at codespeak.net
cfbolz at codespeak.net
Wed Nov 24 13:22:46 CET 2010
Author: cfbolz
Date: Wed Nov 24 13:22:45 2010
New Revision: 79451
Modified:
pypy/branch/reflex-support/pypy/module/cppyy/interp_cppyy.py
Log:
this seems to be needed
Modified: pypy/branch/reflex-support/pypy/module/cppyy/interp_cppyy.py
==============================================================================
--- pypy/branch/reflex-support/pypy/module/cppyy/interp_cppyy.py (original)
+++ pypy/branch/reflex-support/pypy/module/cppyy/interp_cppyy.py Wed Nov 24 13:22:45 2010
@@ -105,7 +105,9 @@
if not methgetter:
raise HackCallNotPossible
funcptr = methgetter(cppthis)
+
funcptr = rffi.cast(self.INT_2_INT_FNPTR, funcptr)
+ funcptr = jit.hint(funcptr, promote=True)
result = funcptr(cppthis, arg)
return space.wrap(rffi.cast(lltype.Signed, result))
More information about the Pypy-commit
mailing list