Commits

Maciej Fijalkowski committed d53d5f6

(pedronis, fijal) Attach a calldescr to a token

Comments (0)

Files changed (1)

pypy/jit/metainterp/pyjitpl.py

             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