@@ -335,7 +335,7 @@ dummy_func(
335335 _PyBinarySubscrCache * cache = (_PyBinarySubscrCache * )next_instr ;
336336 if (ADAPTIVE_COUNTER_IS_ZERO (cache -> counter )) {
337337 assert (cframe .use_tracing == 0 );
338- next_instr -= 2 ;
338+ next_instr -= OPSIZE ;
339339 _Py_Specialize_BinarySubscr (container , sub , next_instr );
340340 DISPATCH_SAME_OPARG ();
341341 }
@@ -482,7 +482,7 @@ dummy_func(
482482 _PyStoreSubscrCache * cache = (_PyStoreSubscrCache * )next_instr ;
483483 if (ADAPTIVE_COUNTER_IS_ZERO (cache -> counter )) {
484484 assert (cframe .use_tracing == 0 );
485- next_instr -= 2 ;
485+ next_instr -= OPSIZE ;
486486 _Py_Specialize_StoreSubscr (container , sub , next_instr );
487487 DISPATCH_SAME_OPARG ();
488488 }
@@ -1047,7 +1047,7 @@ dummy_func(
10471047 if (ADAPTIVE_COUNTER_IS_ZERO (cache -> counter )) {
10481048 assert (cframe .use_tracing == 0 );
10491049 PyObject * seq = TOP ();
1050- next_instr -= 2 ;
1050+ next_instr -= OPSIZE ;
10511051 _Py_Specialize_UnpackSequence (seq , next_instr , oparg );
10521052 DISPATCH_SAME_OPARG ();
10531053 }
@@ -1126,7 +1126,7 @@ dummy_func(
11261126 assert (cframe .use_tracing == 0 );
11271127 PyObject * owner = TOP ();
11281128 PyObject * name = GETITEM (names , oparg );
1129- next_instr -= 2 ;
1129+ next_instr -= OPSIZE ;
11301130 _Py_Specialize_StoreAttr (owner , next_instr , name );
11311131 DISPATCH_SAME_OPARG ();
11321132 }
@@ -1252,7 +1252,7 @@ dummy_func(
12521252 if (ADAPTIVE_COUNTER_IS_ZERO (cache -> counter )) {
12531253 assert (cframe .use_tracing == 0 );
12541254 PyObject * name = GETITEM (names , oparg >>1 );
1255- next_instr -= 2 ;
1255+ next_instr -= OPSIZE ;
12561256 _Py_Specialize_LoadGlobal (GLOBALS (), BUILTINS (), next_instr , name );
12571257 DISPATCH_SAME_OPARG ();
12581258 }
@@ -1698,7 +1698,7 @@ dummy_func(
16981698 assert (cframe .use_tracing == 0 );
16991699 PyObject * owner = TOP ();
17001700 PyObject * name = GETITEM (names , oparg >>1 );
1701- next_instr -= 2 ;
1701+ next_instr -= OPSIZE ;
17021702 _Py_Specialize_LoadAttr (owner , next_instr , name );
17031703 DISPATCH_SAME_OPARG ();
17041704 }
@@ -2062,7 +2062,7 @@ dummy_func(
20622062 assert (cframe .use_tracing == 0 );
20632063 PyObject * right = TOP ();
20642064 PyObject * left = SECOND ();
2065- next_instr -= 2 ;
2065+ next_instr -= OPSIZE ;
20662066 _Py_Specialize_CompareOp (left , right , next_instr , oparg );
20672067 DISPATCH_SAME_OPARG ();
20682068 }
@@ -2560,7 +2560,7 @@ dummy_func(
25602560 _PyForIterCache * cache = (_PyForIterCache * )next_instr ;
25612561 if (ADAPTIVE_COUNTER_IS_ZERO (cache -> counter )) {
25622562 assert (cframe .use_tracing == 0 );
2563- next_instr -= 2 ;
2563+ next_instr -= OPSIZE ;
25642564 _Py_Specialize_ForIter (TOP (), next_instr , oparg );
25652565 DISPATCH_SAME_OPARG ();
25662566 }
@@ -2588,7 +2588,7 @@ dummy_func(
25882588 STACK_SHRINK (1 );
25892589 Py_DECREF (iter );
25902590 /* Skip END_FOR */
2591- JUMPBY (INLINE_CACHE_ENTRIES_FOR_ITER + oparg + 2 );
2591+ JUMPBY (INLINE_CACHE_ENTRIES_FOR_ITER + oparg + OPSIZE );
25922592 }
25932593 }
25942594
@@ -2611,7 +2611,7 @@ dummy_func(
26112611 }
26122612 STACK_SHRINK (1 );
26132613 Py_DECREF (it );
2614- JUMPBY (INLINE_CACHE_ENTRIES_FOR_ITER + oparg + 2 );
2614+ JUMPBY (INLINE_CACHE_ENTRIES_FOR_ITER + oparg + OPSIZE );
26152615 end_for_iter_list :
26162616 }
26172617
@@ -2626,7 +2626,7 @@ dummy_func(
26262626 if (r -> len <= 0 ) {
26272627 STACK_SHRINK (1 );
26282628 Py_DECREF (r );
2629- JUMPBY (INLINE_CACHE_ENTRIES_FOR_ITER + oparg + 2 );
2629+ JUMPBY (INLINE_CACHE_ENTRIES_FOR_ITER + oparg + OPSIZE );
26302630 }
26312631 else {
26322632 long value = r -> start ;
@@ -2636,7 +2636,7 @@ dummy_func(
26362636 goto error ;
26372637 }
26382638 // The STORE_FAST is already done.
2639- JUMPBY (INLINE_CACHE_ENTRIES_FOR_ITER + 2 );
2639+ JUMPBY (INLINE_CACHE_ENTRIES_FOR_ITER + OPSIZE );
26402640 }
26412641 }
26422642
@@ -2891,7 +2891,7 @@ dummy_func(
28912891 int is_meth = is_method (stack_pointer , oparg );
28922892 int nargs = oparg + is_meth ;
28932893 PyObject * callable = PEEK (nargs + 1 );
2894- next_instr -= 2 ;
2894+ next_instr -= OPSIZE ;
28952895 _Py_Specialize_Call (callable , next_instr , nargs , kwnames );
28962896 DISPATCH_SAME_OPARG ();
28972897 }
@@ -3637,7 +3637,7 @@ dummy_func(
36373637 _PyBinaryOpCache * cache = (_PyBinaryOpCache * )next_instr ;
36383638 if (ADAPTIVE_COUNTER_IS_ZERO (cache -> counter )) {
36393639 assert (cframe .use_tracing == 0 );
3640- next_instr -= 2 ;
3640+ next_instr -= OPSIZE ;
36413641 _Py_Specialize_BinaryOp (lhs , rhs , next_instr , oparg , & GETLOCAL (0 ));
36423642 DISPATCH_SAME_OPARG ();
36433643 }
0 commit comments