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

arigo at codespeak.net arigo at codespeak.net
Sat Jul 1 14:48:42 CEST 2006


Author: arigo
Date: Sat Jul  1 14:48:41 2006
New Revision: 29560

Modified:
   pypy/dist/pypy/rpython/llinterp.py
Log:
Oups, big performance bug in the llinterpreter.


Modified: pypy/dist/pypy/rpython/llinterp.py
==============================================================================
--- pypy/dist/pypy/rpython/llinterp.py	(original)
+++ pypy/dist/pypy/rpython/llinterp.py	Sat Jul  1 14:48:41 2006
@@ -222,7 +222,7 @@
             # try to import the operation from opimpl.py
             from pypy.rpython.lltypesystem.opimpl import get_op_impl
             ophandler = get_op_impl(opname)
-            LLFrame.ophandler = staticmethod(ophandler)
+            setattr(self.__class__, 'op_' + opname, staticmethod(ophandler))
         return ophandler
     # _______________________________________________________
     # evaling functions



More information about the Pypy-commit mailing list