Lines Matching refs:end
137 /* target block when exception is raised, should not be set by front-end. */
332 int u_end_lineno; /* the end line of the current stmt */
333 int u_end_col_offset; /* the end offset of the current stmt */
376 // i items off of the stack. The end result looks like this (with each block
1010 /* -1 at end of iterator, 1 if continue iterating. */
2436 // (Note that in theory we could end up here even for an argument
2923 basicblock *end, *next2;
2924 end = compiler_new_block(c);
2925 if (end == NULL)
2934 ADDOP_JUMP_NOLINE(c, JUMP, end);
2938 compiler_use_next_block(c, end);
2963 basicblock *end = compiler_new_block(c);
2964 if (end == NULL)
2966 ADDOP_JUMP_NOLINE(c, JUMP, end);
2972 compiler_use_next_block(c, end);
2992 basicblock *end, *next;
2995 end = compiler_new_block(c);
2996 if (end == NULL)
3004 ADDOP_JUMP_NOLINE(c, JUMP, end);
3007 compiler_use_next_block(c, end);
3071 basicblock *end, *next;
3073 end = compiler_new_block(c);
3074 if (end == NULL) {
3084 next = end;
3091 ADDOP_JUMP_NOLINE(c, JUMP, end);
3095 compiler_use_next_block(c, end);
3102 basicblock *start, *body, *cleanup, *end;
3107 end = compiler_new_block(c);
3108 if (start == NULL || body == NULL || end == NULL || cleanup == NULL) {
3111 if (!compiler_push_fblock(c, FOR_LOOP, start, end, NULL)) {
3129 compiler_use_next_block(c, end);
3137 basicblock *start, *except, *end;
3146 end = compiler_new_block(c);
3148 if (start == NULL || except == NULL || end == NULL) {
3155 if (!compiler_push_fblock(c, FOR_LOOP, start, end, NULL)) {
3185 compiler_use_next_block(c, end);
3193 basicblock *loop, *body, *end, *anchor = NULL;
3197 end = compiler_new_block(c);
3198 if (loop == NULL || body == NULL || anchor == NULL || end == NULL) {
3202 if (!compiler_push_fblock(c, WHILE_LOOP, loop, end, NULL)) {
3222 compiler_use_next_block(c, end);
3351 basicblock *body, *end, *exit, *cleanup;
3354 end = compiler_new_block(c);
3357 if (body == NULL || end == NULL || exit == NULL || cleanup == NULL) {
3361 ADDOP_JUMP(c, SETUP_FINALLY, end);
3363 if (!compiler_push_fblock(c, FINALLY_TRY, body, end, s->v.Try.finalbody))
3377 compiler_use_next_block(c, end);
3382 if (!compiler_push_fblock(c, FINALLY_END, end, NULL, NULL))
3385 compiler_pop_fblock(c, FINALLY_END, end);
3400 basicblock *end = compiler_new_block(c);
3401 if (!end) {
3413 ADDOP_JUMP(c, SETUP_FINALLY, end);
3415 if (!compiler_push_fblock(c, FINALLY_TRY, body, end, s->v.TryStar.finalbody)) {
3431 compiler_use_next_block(c, end);
3436 if (!compiler_push_fblock(c, FINALLY_END, end, NULL, NULL)) {
3440 compiler_pop_fblock(c, FINALLY_END, end);
3480 basicblock *body, *except, *end, *cleanup;
3485 end = compiler_new_block(c);
3487 if (body == NULL || except == NULL || end == NULL || cleanup == NULL)
3499 ADDOP_JUMP_NOLINE(c, JUMP, end);
3563 ADDOP_JUMP(c, JUMP, end);
3593 ADDOP_JUMP(c, JUMP, end);
3603 compiler_use_next_block(c, end);
3675 basicblock *end = compiler_new_block(c);
3676 if (end == NULL) {
3841 ADDOP_JUMP(c, JUMP, end);
3851 compiler_use_next_block(c, end);
4021 basicblock *end;
4038 end = compiler_new_block(c);
4039 if (end == NULL)
4041 if (!compiler_jump_if(c, s->v.Assert.test, end, 1))
4050 compiler_use_next_block(c, end);
4348 basicblock *end;
4358 end = compiler_new_block(c);
4359 if (end == NULL)
4366 ADDOP_JUMP(c, jumpi, end);
4374 compiler_use_next_block(c, end);
4541 are_all_items_const(asdl_expr_seq *seq, Py_ssize_t begin, Py_ssize_t end)
4544 for (i = begin; i < end; i++) {
4553 compiler_subdict(struct compiler *c, expr_ty e, Py_ssize_t begin, Py_ssize_t end)
4555 Py_ssize_t i, n = end - begin;
4558 if (n > 1 && !big && are_all_items_const(e->v.Dict.keys, begin, end)) {
4559 for (i = begin; i < end; i++) {
4566 for (i = begin; i < end; i++) {
4578 for (i = begin; i < end; i++) {
4680 basicblock *end = compiler_new_block(c);
4681 if (end == NULL)
4683 ADDOP_JUMP_NOLINE(c, JUMP, end);
4687 compiler_use_next_block(c, end);
4839 // Make sure the end position still follows the start position, even for
5027 compiler_subkwargs(struct compiler *c, asdl_keyword_seq *keywords, Py_ssize_t begin, Py_ssize_t end)
5029 Py_ssize_t i, n = end - begin;
5035 for (i = begin; i < end; i++) {
5043 for (i = begin; i < end; i++) {
5055 for (i = begin; i < end; i++) {
6762 basicblock *end;
6763 RETURN_IF_FALSE(end = compiler_new_block(c));
6850 if (!compiler_addop_j(c, JUMP, end) ||
6865 compiler_use_next_block(c, end);
7024 basicblock *end;
7025 RETURN_IF_FALSE(end = compiler_new_block(c));
7070 ADDOP_JUMP(c, JUMP, end);
7091 RETURN_IF_FALSE(compiler_jump_if(c, m->guard, end, 0));
7096 compiler_use_next_block(c, end);
7475 assemble_emit_exception_table_entry(struct assembler *a, int start, int end, basicblock *handler)
7482 int size = end-start;
7483 assert(end > start);
8355 /* Make sure every block that falls off the end returns None. */
8652 // replacing instructions starting from the *end* of the run. Since the