@@ -430,7 +430,7 @@ dummy_func(
430
430
_Py_DECREF_SPECIALIZED (right , _PyUnicode_ExactDealloc );
431
431
ERROR_IF (* target_local == NULL , error );
432
432
// The STORE_FAST is already done.
433
- JUMPBY (INLINE_CACHE_ENTRIES_BINARY_OP + 1 );
433
+ SKIP_OVER (INLINE_CACHE_ENTRIES_BINARY_OP + 1 );
434
434
}
435
435
436
436
macro (BINARY_OP_INPLACE_ADD_UNICODE ) =
@@ -557,7 +557,7 @@ dummy_func(
557
557
STACK_SHRINK (2 );
558
558
new_frame -> localsplus [0 ] = container ;
559
559
new_frame -> localsplus [1 ] = sub ;
560
- JUMPBY (INLINE_CACHE_ENTRIES_BINARY_SUBSCR );
560
+ SKIP_OVER (INLINE_CACHE_ENTRIES_BINARY_SUBSCR );
561
561
frame -> return_offset = 0 ;
562
562
DISPATCH_INLINED (new_frame );
563
563
}
@@ -879,7 +879,7 @@ dummy_func(
879
879
gen -> gi_frame_state = FRAME_EXECUTING ;
880
880
gen -> gi_exc_state .previous_item = tstate -> exc_info ;
881
881
tstate -> exc_info = & gen -> gi_exc_state ;
882
- JUMPBY (INLINE_CACHE_ENTRIES_SEND );
882
+ SKIP_OVER (INLINE_CACHE_ENTRIES_SEND );
883
883
DISPATCH_INLINED (gen_frame );
884
884
}
885
885
if (Py_IsNone (v ) && PyIter_Check (receiver )) {
@@ -918,7 +918,7 @@ dummy_func(
918
918
gen -> gi_frame_state = FRAME_EXECUTING ;
919
919
gen -> gi_exc_state .previous_item = tstate -> exc_info ;
920
920
tstate -> exc_info = & gen -> gi_exc_state ;
921
- JUMPBY (INLINE_CACHE_ENTRIES_SEND );
921
+ SKIP_OVER (INLINE_CACHE_ENTRIES_SEND );
922
922
DISPATCH_INLINED (gen_frame );
923
923
}
924
924
@@ -1905,7 +1905,7 @@ dummy_func(
1905
1905
int shrink_stack = !(oparg & 1 );
1906
1906
STACK_SHRINK (shrink_stack );
1907
1907
new_frame -> localsplus [0 ] = owner ;
1908
- JUMPBY (INLINE_CACHE_ENTRIES_LOAD_ATTR );
1908
+ SKIP_OVER (INLINE_CACHE_ENTRIES_LOAD_ATTR );
1909
1909
frame -> return_offset = 0 ;
1910
1910
DISPATCH_INLINED (new_frame );
1911
1911
}
@@ -1933,7 +1933,7 @@ dummy_func(
1933
1933
STACK_SHRINK (shrink_stack );
1934
1934
new_frame -> localsplus [0 ] = owner ;
1935
1935
new_frame -> localsplus [1 ] = Py_NewRef (name );
1936
- JUMPBY (INLINE_CACHE_ENTRIES_LOAD_ATTR );
1936
+ SKIP_OVER (INLINE_CACHE_ENTRIES_LOAD_ATTR );
1937
1937
frame -> return_offset = 0 ;
1938
1938
DISPATCH_INLINED (new_frame );
1939
1939
}
@@ -2356,8 +2356,9 @@ dummy_func(
2356
2356
next_instr [INLINE_CACHE_ENTRIES_FOR_ITER + oparg ].op .code == INSTRUMENTED_END_FOR );
2357
2357
Py_DECREF (iter );
2358
2358
STACK_SHRINK (1 );
2359
+ SKIP_OVER (INLINE_CACHE_ENTRIES_FOR_ITER );
2359
2360
/* Jump forward oparg, then skip following END_FOR instruction */
2360
- JUMPBY (INLINE_CACHE_ENTRIES_FOR_ITER + oparg + 1 );
2361
+ JUMPBY (oparg + 1 );
2361
2362
DISPATCH ();
2362
2363
}
2363
2364
// Common case: no jump, leave it to the code generator
@@ -2406,8 +2407,9 @@ dummy_func(
2406
2407
}
2407
2408
Py_DECREF (iter );
2408
2409
STACK_SHRINK (1 );
2410
+ SKIP_OVER (INLINE_CACHE_ENTRIES_FOR_ITER );
2409
2411
/* Jump forward oparg, then skip following END_FOR instruction */
2410
- JUMPBY (INLINE_CACHE_ENTRIES_FOR_ITER + oparg + 1 );
2412
+ JUMPBY (oparg + 1 );
2411
2413
DISPATCH ();
2412
2414
end_for_iter_list :
2413
2415
// Common case: no jump, leave it to the code generator
@@ -2428,8 +2430,9 @@ dummy_func(
2428
2430
}
2429
2431
Py_DECREF (iter );
2430
2432
STACK_SHRINK (1 );
2433
+ SKIP_OVER (INLINE_CACHE_ENTRIES_FOR_ITER );
2431
2434
/* Jump forward oparg, then skip following END_FOR instruction */
2432
- JUMPBY (INLINE_CACHE_ENTRIES_FOR_ITER + oparg + 1 );
2435
+ JUMPBY (oparg + 1 );
2433
2436
DISPATCH ();
2434
2437
end_for_iter_tuple :
2435
2438
// Common case: no jump, leave it to the code generator
@@ -2442,8 +2445,9 @@ dummy_func(
2442
2445
if (r -> len <= 0 ) {
2443
2446
STACK_SHRINK (1 );
2444
2447
Py_DECREF (r );
2448
+ SKIP_OVER (INLINE_CACHE_ENTRIES_FOR_ITER );
2445
2449
// Jump over END_FOR instruction.
2446
- JUMPBY (INLINE_CACHE_ENTRIES_FOR_ITER + oparg + 1 );
2450
+ JUMPBY (oparg + 1 );
2447
2451
DISPATCH ();
2448
2452
}
2449
2453
long value = r -> start ;
@@ -2467,7 +2471,7 @@ dummy_func(
2467
2471
gen -> gi_frame_state = FRAME_EXECUTING ;
2468
2472
gen -> gi_exc_state .previous_item = tstate -> exc_info ;
2469
2473
tstate -> exc_info = & gen -> gi_exc_state ;
2470
- JUMPBY (INLINE_CACHE_ENTRIES_FOR_ITER );
2474
+ SKIP_OVER (INLINE_CACHE_ENTRIES_FOR_ITER );
2471
2475
assert (next_instr [oparg ].op .code == END_FOR ||
2472
2476
next_instr [oparg ].op .code == INSTRUMENTED_END_FOR );
2473
2477
DISPATCH_INLINED (gen_frame );
@@ -2738,7 +2742,7 @@ dummy_func(
2738
2742
if (new_frame == NULL ) {
2739
2743
goto error ;
2740
2744
}
2741
- JUMPBY (INLINE_CACHE_ENTRIES_CALL );
2745
+ SKIP_OVER (INLINE_CACHE_ENTRIES_CALL );
2742
2746
frame -> return_offset = 0 ;
2743
2747
DISPATCH_INLINED (new_frame );
2744
2748
}
@@ -2812,7 +2816,7 @@ dummy_func(
2812
2816
}
2813
2817
// Manipulate stack directly since we leave using DISPATCH_INLINED().
2814
2818
STACK_SHRINK (oparg + 2 );
2815
- JUMPBY (INLINE_CACHE_ENTRIES_CALL );
2819
+ SKIP_OVER (INLINE_CACHE_ENTRIES_CALL );
2816
2820
frame -> return_offset = 0 ;
2817
2821
DISPATCH_INLINED (new_frame );
2818
2822
}
@@ -2850,7 +2854,7 @@ dummy_func(
2850
2854
}
2851
2855
// Manipulate stack and cache directly since we leave using DISPATCH_INLINED().
2852
2856
STACK_SHRINK (oparg + 2 );
2853
- JUMPBY (INLINE_CACHE_ENTRIES_CALL );
2857
+ SKIP_OVER (INLINE_CACHE_ENTRIES_CALL );
2854
2858
frame -> return_offset = 0 ;
2855
2859
DISPATCH_INLINED (new_frame );
2856
2860
}
@@ -3093,7 +3097,7 @@ dummy_func(
3093
3097
Py_DECREF (method );
3094
3098
STACK_SHRINK (3 );
3095
3099
// CALL + POP_TOP
3096
- JUMPBY (INLINE_CACHE_ENTRIES_CALL + 1 );
3100
+ SKIP_OVER (INLINE_CACHE_ENTRIES_CALL + 1 );
3097
3101
assert (next_instr [-1 ].op .code == POP_TOP );
3098
3102
DISPATCH ();
3099
3103
}
0 commit comments