diff options
author | Guido van Rossum <guido@python.org> | 2022-12-03 03:57:30 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-03 03:57:30 (GMT) |
commit | acf9184e6b68714cf7a756edefd02372dccd988b (patch) | |
tree | 6a1a9fb830b36838b6c8bff284618ee3c8d7adab /Python/generated_cases.c.h | |
parent | 0547a981ae413248b21a6bb0cb62dda7d236fe45 (diff) | |
download | cpython-acf9184e6b68714cf7a756edefd02372dccd988b.zip cpython-acf9184e6b68714cf7a756edefd02372dccd988b.tar.gz cpython-acf9184e6b68714cf7a756edefd02372dccd988b.tar.bz2 |
GH-98831: Support cache effects in super- and macro instructions (#99601)
Diffstat (limited to 'Python/generated_cases.c.h')
-rw-r--r-- | Python/generated_cases.c.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/generated_cases.c.h b/Python/generated_cases.c.h index 3af60b8..3a40382 100644 --- a/Python/generated_cases.c.h +++ b/Python/generated_cases.c.h @@ -436,10 +436,10 @@ } TARGET(BINARY_SUBSCR_GETITEM) { - uint32_t type_version = read_u32(next_instr + 1); - uint16_t func_version = read_u16(next_instr + 3); PyObject *sub = PEEK(1); PyObject *container = PEEK(2); + uint32_t type_version = read_u32(next_instr + 1); + uint16_t func_version = read_u16(next_instr + 3); PyTypeObject *tp = Py_TYPE(container); DEOPT_IF(tp->tp_version_tag != type_version, BINARY_SUBSCR); assert(tp->tp_flags & Py_TPFLAGS_HEAPTYPE); |