[pypy-issue] [issue1274] continue inside of other frame blocks causes JIT not to be invoked

Armin Rigo tracker at bugs.pypy.org
Mon Oct 1 09:05:26 CEST 2012


Armin Rigo <armin.rigo at gmail.com> added the comment:

This is a corner case in which the loop never hits a JUMP_ABSOLUTE opcode.  We
need to put a different can_enter_jit() somewhere else.  I suggest
LoopBlock.handle(), in the case where it re-pushes the loop block after a
SContinueLoop.  Note that SContinueLoop comes from CONTINUE_LOOP opcodes, which
themselves are produced by "continue" statements only if they are enclosed in a
try:.

----------
nosy: +arigo
status: unread -> chatting

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1274>
________________________________________


More information about the pypy-issue mailing list