@@ -742,6 +742,7 @@ dummy_func(
742
742
}
743
743
744
744
inst (RAISE_VARARGS , (args [oparg ] -- )) {
745
+ TIER_ONE_ONLY
745
746
PyObject * cause = NULL , * exc = NULL ;
746
747
switch (oparg ) {
747
748
case 2 :
@@ -1073,6 +1074,7 @@ dummy_func(
1073
1074
}
1074
1075
1075
1076
inst (RERAISE , (values [oparg ], exc -- values [oparg ])) {
1077
+ TIER_ONE_ONLY
1076
1078
assert (oparg >= 0 && oparg <= 2 );
1077
1079
if (oparg ) {
1078
1080
PyObject * lasti = values [0 ];
@@ -1094,6 +1096,7 @@ dummy_func(
1094
1096
}
1095
1097
1096
1098
inst (END_ASYNC_FOR , (awaitable , exc -- )) {
1099
+ TIER_ONE_ONLY
1097
1100
assert (exc && PyExceptionInstance_Check (exc ));
1098
1101
if (PyErr_GivenExceptionMatches (exc , PyExc_StopAsyncIteration )) {
1099
1102
DECREF_INPUTS ();
@@ -1107,6 +1110,7 @@ dummy_func(
1107
1110
}
1108
1111
1109
1112
inst (CLEANUP_THROW , (sub_iter , last_sent_val , exc_value -- none , value )) {
1113
+ TIER_ONE_ONLY
1110
1114
assert (throwflag );
1111
1115
assert (exc_value && PyExceptionInstance_Check (exc_value ));
1112
1116
if (PyErr_GivenExceptionMatches (exc_value , PyExc_StopIteration )) {
@@ -1467,7 +1471,7 @@ dummy_func(
1467
1471
PyObject * initial = GETLOCAL (oparg );
1468
1472
PyObject * cell = PyCell_New (initial );
1469
1473
if (cell == NULL ) {
1470
- goto resume_with_error ;
1474
+ goto error ;
1471
1475
}
1472
1476
SETLOCAL (oparg , cell );
1473
1477
}
@@ -2247,13 +2251,15 @@ dummy_func(
2247
2251
}
2248
2252
2249
2253
inst (IMPORT_NAME , (level , fromlist -- res )) {
2254
+ TIER_ONE_ONLY
2250
2255
PyObject * name = GETITEM (FRAME_CO_NAMES , oparg );
2251
2256
res = import_name (tstate , frame , name , fromlist , level );
2252
2257
DECREF_INPUTS ();
2253
2258
ERROR_IF (res == NULL , error );
2254
2259
}
2255
2260
2256
2261
inst (IMPORT_FROM , (from -- from , res )) {
2262
+ TIER_ONE_ONLY
2257
2263
PyObject * name = GETITEM (FRAME_CO_NAMES , oparg );
2258
2264
res = import_from (tstate , from , name );
2259
2265
ERROR_IF (res == NULL , error );
@@ -2263,10 +2269,10 @@ dummy_func(
2263
2269
JUMPBY (oparg );
2264
2270
}
2265
2271
2266
- inst (JUMP_BACKWARD , (-- )) {
2272
+ inst (JUMP_BACKWARD , (unused / 1 -- )) {
2267
2273
CHECK_EVAL_BREAKER ();
2268
2274
assert (oparg <= INSTR_OFFSET ());
2269
- JUMPBY (1 - oparg );
2275
+ JUMPBY (- oparg );
2270
2276
#if ENABLE_SPECIALIZATION
2271
2277
this_instr [1 ].cache += (1 << OPTIMIZER_BITS_IN_COUNTER );
2272
2278
if (this_instr [1 ].cache > tstate -> interp -> optimizer_backedge_threshold &&
@@ -2297,6 +2303,7 @@ dummy_func(
2297
2303
};
2298
2304
2299
2305
inst (ENTER_EXECUTOR , (-- )) {
2306
+ TIER_ONE_ONLY
2300
2307
CHECK_EVAL_BREAKER ();
2301
2308
2302
2309
PyCodeObject * code = _PyFrame_GetCode (frame );
@@ -2703,6 +2710,7 @@ dummy_func(
2703
2710
}
2704
2711
2705
2712
inst (BEFORE_WITH , (mgr -- exit , res )) {
2713
+ TIER_ONE_ONLY
2706
2714
/* pop the context manager, push its __exit__ and the
2707
2715
* value returned from calling its __enter__
2708
2716
*/
@@ -3831,9 +3839,9 @@ dummy_func(
3831
3839
INSTRUMENTED_JUMP (this_instr , next_instr + oparg , PY_MONITORING_EVENT_JUMP );
3832
3840
}
3833
3841
3834
- inst (INSTRUMENTED_JUMP_BACKWARD , ( -- )) {
3842
+ inst (INSTRUMENTED_JUMP_BACKWARD , (unused / 1 -- )) {
3835
3843
CHECK_EVAL_BREAKER ();
3836
- INSTRUMENTED_JUMP (this_instr , next_instr + 1 - oparg , PY_MONITORING_EVENT_JUMP );
3844
+ INSTRUMENTED_JUMP (this_instr , next_instr - oparg , PY_MONITORING_EVENT_JUMP );
3837
3845
}
3838
3846
3839
3847
inst (INSTRUMENTED_POP_JUMP_IF_TRUE , (unused /1 -- )) {
0 commit comments