@@ -506,6 +506,7 @@ dummy_func(
506
506
// specializations, but there is no output.
507
507
// At the end we just skip over the STORE_FAST.
508
508
op (_BINARY_OP_INPLACE_ADD_UNICODE , (unused /1 , left , right -- )) {
509
+ TIER_ONE_ONLY
509
510
assert (next_instr -> op .code == STORE_FAST );
510
511
PyObject * * target_local = & GETLOCAL (next_instr -> op .arg );
511
512
DEOPT_IF (* target_local != left );
@@ -786,6 +787,7 @@ dummy_func(
786
787
}
787
788
788
789
inst (INTERPRETER_EXIT , (retval -- )) {
790
+ TIER_ONE_ONLY
789
791
assert (frame == & entry_frame );
790
792
assert (_PyFrame_IsIncomplete (frame ));
791
793
/* Restore previous frame and return. */
@@ -1072,6 +1074,7 @@ dummy_func(
1072
1074
}
1073
1075
1074
1076
inst (YIELD_VALUE , (retval -- unused )) {
1077
+ TIER_ONE_ONLY
1075
1078
// NOTE: It's important that YIELD_VALUE never raises an exception!
1076
1079
// The compiler treats any exception raised here as a failed close()
1077
1080
// or throw() call.
@@ -2297,6 +2300,7 @@ dummy_func(
2297
2300
}
2298
2301
2299
2302
inst (JUMP_FORWARD , (-- )) {
2303
+ TIER_ONE_ONLY
2300
2304
JUMPBY (oparg );
2301
2305
}
2302
2306
@@ -2402,6 +2406,7 @@ dummy_func(
2402
2406
macro (POP_JUMP_IF_NOT_NONE ) = _IS_NONE + _POP_JUMP_IF_FALSE ;
2403
2407
2404
2408
inst (JUMP_BACKWARD_NO_INTERRUPT , (-- )) {
2409
+ TIER_ONE_ONLY
2405
2410
/* This bytecode is used in the `yield from` or `await` loop.
2406
2411
* If there is an interrupt, we want it handled in the innermost
2407
2412
* generator or coroutine, so we deliberately do not check it here.
@@ -3454,6 +3459,7 @@ dummy_func(
3454
3459
3455
3460
// This is secretly a super-instruction
3456
3461
inst (CALL_LIST_APPEND , (unused /1 , unused /2 , callable , self , args [oparg ] -- unused )) {
3462
+ TIER_ONE_ONLY
3457
3463
assert (oparg == 1 );
3458
3464
PyInterpreterState * interp = tstate -> interp ;
3459
3465
DEOPT_IF (callable != interp -> callable_cache .list_append );
@@ -3792,6 +3798,7 @@ dummy_func(
3792
3798
}
3793
3799
3794
3800
inst (RETURN_GENERATOR , (-- )) {
3801
+ TIER_ONE_ONLY
3795
3802
assert (PyFunction_Check (frame -> f_funcobj ));
3796
3803
PyFunctionObject * func = (PyFunctionObject * )frame -> f_funcobj ;
3797
3804
PyGenObject * gen = (PyGenObject * )_Py_MakeCoro (func );
0 commit comments