]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fix test
authorKen Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Fri, 24 Oct 2025 10:36:32 +0000 (11:36 +0100)
committerKen Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Fri, 24 Oct 2025 10:36:32 +0000 (11:36 +0100)
Lib/test/test_generated_cases.py

index 09ce329bdcd14dbdd90b23bdca654c2215bd2163..1c04881bca573007b5982f9a5a4240fdea29d251 100644 (file)
@@ -329,6 +329,9 @@ class TestGeneratedCases(unittest.TestCase):
             if (xxx) {
                 UPDATE_MISS_STATS(OP1);
                 assert(_PyOpcode_Deopt[opcode] == (OP1));
+                #if _Py_TIER2
+                tstate->interp->jit_state.specialize_counter++;
+                #endif
                 JUMP_TO_PREDICTED(OP1);
             }
             res = Py_None;