[pypy-svn] r51943 - pypy/dist/pypy/rpython

arigo at codespeak.net arigo at codespeak.net
Fri Feb 29 11:44:09 CET 2008


Author: arigo
Date: Fri Feb 29 11:44:09 2008
New Revision: 51943

Modified:
   pypy/dist/pypy/rpython/llinterp.py
Log:
Obscure hack to fix llinterp support for 'get_frame_base'.


Modified: pypy/dist/pypy/rpython/llinterp.py
==============================================================================
--- pypy/dist/pypy/rpython/llinterp.py	(original)
+++ pypy/dist/pypy/rpython/llinterp.py	Fri Feb 29 11:44:09 2008
@@ -1012,6 +1012,7 @@
     # read frame var support
 
     def op_get_frame_base(self):
+        self._obj0 = self        # hack
         return llmemory.fakeaddress(self)
 
     def op_frame_info(self, *vars):



More information about the Pypy-commit mailing list