[pypy-svn] r70735 - pypy/branch/direct-assembler-call/pypy/jit/metainterp

fijal at codespeak.net fijal at codespeak.net
Wed Jan 20 20:55:28 CET 2010


Author: fijal
Date: Wed Jan 20 20:55:27 2010
New Revision: 70735

Modified:
   pypy/branch/direct-assembler-call/pypy/jit/metainterp/pyjitpl.py
Log:
(pedronis, fijal) Attach a calldescr to a token


Modified: pypy/branch/direct-assembler-call/pypy/jit/metainterp/pyjitpl.py
==============================================================================
--- pypy/branch/direct-assembler-call/pypy/jit/metainterp/pyjitpl.py	(original)
+++ pypy/branch/direct-assembler-call/pypy/jit/metainterp/pyjitpl.py	Wed Jan 20 20:55:27 2010
@@ -683,6 +683,8 @@
             call_position += 1
         # </UGLY!>
         if token is not None:
+            # attach a calldescr to token, so we can use it later
+            token._calldescr = calldescr
             # this will substitute the residual call with assembler call
             self.metainterp.direct_assembler_call(varargs, token, call_position)
         return res



More information about the Pypy-commit mailing list