Home | History | Annotate | Download | only in Python

Lines Matching refs:LOOP

84 enum fblocktype { LOOP, EXCEPT, FINALLY_TRY, FINALLY_END };
190 /* Returns true if there is a loop on the fblock stack. */
2344 if (!compiler_push_fblock(c, LOOP, start))
2355 compiler_pop_fblock(c, LOOP, start);
2392 if (!compiler_push_fblock(c, LOOP, try))
2432 compiler_pop_fblock(c, LOOP, try);
2445 basicblock *loop, *orelse, *end, *anchor = NULL;
2453 loop = compiler_new_block(c);
2460 if (loop == NULL || end == NULL)
2471 compiler_use_next_block(c, loop);
2472 if (!compiler_push_fblock(c, LOOP, loop))
2479 ADDOP_JABS(c, JUMP_ABSOLUTE, loop);
2488 compiler_pop_fblock(c, LOOP, loop);
2499 static const char LOOP_ERROR_MSG[] = "'continue' not properly in loop";
2508 case LOOP:
2513 while (--i >= 0 && c->u->u_fblock[i].fb_type != LOOP) {
3049 return compiler_error(c, "'break' outside loop");
3659 /* a for loop only executes once */
3791 This code *knows* that the loop cannot contain break, continue, or return,
4789 if (u->u_fblock[i].fb_type == LOOP)
5304 The issue is that in the first loop blocksize() is called
5307 i_oparg is calculated in the second loop above.
5309 So we loop until we stop seeing new EXTENDED_ARGs.