@@ -540,7 +540,7 @@ def test_error_if_plain(self):
540540 frame->instr_ptr = next_instr;
541541 next_instr += 1;
542542 INSTRUCTION_STATS(OP);
543- if (cond) CEVAL_GOTO( label) ;
543+ if (cond) goto label;
544544 DISPATCH();
545545 }
546546 """
@@ -557,7 +557,7 @@ def test_error_if_plain_with_comment(self):
557557 frame->instr_ptr = next_instr;
558558 next_instr += 1;
559559 INSTRUCTION_STATS(OP);
560- if (cond) CEVAL_GOTO( label) ;
560+ if (cond) goto label;
561561 // Comment is ok
562562 DISPATCH();
563563 }
@@ -584,7 +584,7 @@ def test_error_if_pop(self):
584584 right = stack_pointer[-1];
585585 left = stack_pointer[-2];
586586 SPAM(left, right);
587- if (cond) CEVAL_GOTO( pop_2_label) ;
587+ if (cond) goto pop_2_label;
588588 res = 0;
589589 stack_pointer[-2] = res;
590590 stack_pointer += -1;
@@ -613,7 +613,7 @@ def test_error_if_pop_with_result(self):
613613 right = stack_pointer[-1];
614614 left = stack_pointer[-2];
615615 res = SPAM(left, right);
616- if (cond) CEVAL_GOTO( pop_2_label) ;
616+ if (cond) goto pop_2_label;
617617 stack_pointer[-2] = res;
618618 stack_pointer += -1;
619619 assert(WITHIN_STACK_BOUNDS());
@@ -931,7 +931,7 @@ def test_array_error_if(self):
931931 if (oparg == 0) {
932932 stack_pointer += -1 - oparg;
933933 assert(WITHIN_STACK_BOUNDS());
934- CEVAL_GOTO( somewhere) ;
934+ goto somewhere;
935935 }
936936 stack_pointer += -1 - oparg;
937937 assert(WITHIN_STACK_BOUNDS());
@@ -1394,7 +1394,7 @@ def test_pop_on_error_peeks(self):
13941394 // THIRD
13951395 {
13961396 // Mark j and k as used
1397- if (cond) CEVAL_GOTO( pop_2_error) ;
1397+ if (cond) goto pop_2_error;
13981398 }
13991399 stack_pointer += -2;
14001400 assert(WITHIN_STACK_BOUNDS());
@@ -1437,7 +1437,7 @@ def test_push_then_error(self):
14371437 stack_pointer[1] = b;
14381438 stack_pointer += 2;
14391439 assert(WITHIN_STACK_BOUNDS());
1440- CEVAL_GOTO( error) ;
1440+ goto error;
14411441 }
14421442 }
14431443 stack_pointer[0] = a;
@@ -1464,14 +1464,14 @@ def test_error_if_true(self):
14641464 frame->instr_ptr = next_instr;
14651465 next_instr += 1;
14661466 INSTRUCTION_STATS(OP1);
1467- CEVAL_GOTO( here) ;
1467+ goto here;
14681468 }
14691469
14701470 TARGET(OP2) {
14711471 frame->instr_ptr = next_instr;
14721472 next_instr += 1;
14731473 INSTRUCTION_STATS(OP2);
1474- CEVAL_GOTO( there) ;
1474+ goto there;
14751475 }
14761476 """
14771477 self .run_cases_test (input , output )
@@ -1854,7 +1854,7 @@ def test_fallthrough_label(self):
18541854 Py_PRESERVE_NONE_CC static PyObject *_TAIL_CALL_error(TAIL_CALL_PARAMS)
18551855 {
18561856 DO_THING();
1857- CEVAL_GOTO (fallthrough);
1857+ TAIL_CALL (fallthrough);
18581858 }
18591859
18601860 Py_PRESERVE_NONE_CC static PyObject *_TAIL_CALL_fallthrough(TAIL_CALL_PARAMS)
@@ -1888,10 +1888,10 @@ def test_transform_gotos(self):
18881888 Py_PRESERVE_NONE_CC static PyObject *_TAIL_CALL_error(TAIL_CALL_PARAMS)
18891889 {
18901890 if (thing) {
1891- CEVAL_GOTO (fallthrough);
1891+ TAIL_CALL (fallthrough);
18921892 }
18931893 DO_THING();
1894- CEVAL_GOTO (fallthrough);
1894+ TAIL_CALL (fallthrough);
18951895 }
18961896
18971897 Py_PRESERVE_NONE_CC static PyObject *_TAIL_CALL_fallthrough(TAIL_CALL_PARAMS)
0 commit comments