Home | History | Annotate | Download | only in Python

Lines Matching refs:LOOP

87 enum fblocktype { LOOP, EXCEPT, FINALLY_TRY, FINALLY_END };
173 /* Returns true if there is a loop on the fblock stack. */
1626 if (!compiler_push_fblock(c, LOOP, start))
1637 compiler_pop_fblock(c, LOOP, start);
1646 basicblock *loop, *orelse, *end, *anchor = NULL;
1654 loop = compiler_new_block(c);
1661 if (loop == NULL || end == NULL)
1672 compiler_use_next_block(c, loop);
1673 if (!compiler_push_fblock(c, LOOP, loop))
1680 ADDOP_JABS(c, JUMP_ABSOLUTE, loop);
1689 compiler_pop_fblock(c, LOOP, loop);
1700 static const char LOOP_ERROR_MSG[] = "'continue' not properly in loop";
1709 case LOOP:
1714 while (--i >= 0 && c->u->u_fblock[i].fb_type != LOOP) {
2179 return compiler_error(c, "'break' outside loop");
2647 This code *knows* that the loop cannot contain break, continue, or return,
3176 if (u->u_fblock[i].fb_type == LOOP)
3731 The issue is that in the first loop blocksize() is called
3734 i_oparg is calculated in the second loop above.
3736 So we loop until we stop seeing new EXTENDED_ARGs.