[pypy-svn] r46086 - pypy/branch/pypy-more-rtti-inprogress/rpython/lltypesystem

fijal at codespeak.net fijal at codespeak.net
Tue Aug 28 12:54:53 CEST 2007


Author: fijal
Date: Tue Aug 28 12:54:53 2007
New Revision: 46086

Modified:
   pypy/branch/pypy-more-rtti-inprogress/rpython/lltypesystem/rffi.py
Log:
Stick pointer to function object for debugging


Modified: pypy/branch/pypy-more-rtti-inprogress/rpython/lltypesystem/rffi.py
==============================================================================
--- pypy/branch/pypy-more-rtti-inprogress/rpython/lltypesystem/rffi.py	(original)
+++ pypy/branch/pypy-more-rtti-inprogress/rpython/lltypesystem/rffi.py	Tue Aug 28 12:54:53 2007
@@ -56,6 +56,8 @@
                 real_args = real_args + (args[i],)
         return funcptr(*real_args)
     wrapper._always_inline_ = True
+    # for debugging, stick ll func ptr to that
+    wrapper._ptr = funcptr
     return func_with_new_name(wrapper, name)
 
 from pypy.rpython.tool.rfficache import platform



More information about the Pypy-commit mailing list