summaryrefslogtreecommitdiffstats
path: root/Python/executor_cases.c.h
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2024-08-27 09:49:39 (GMT)
committerGitHub <noreply@github.com>2024-08-27 09:49:39 (GMT)
commit54a05a46002ee1c9211f299df38f444f16866ef5 (patch)
treeeb4e94b3b62723936598a68bfcaef6eb6d66c389 /Python/executor_cases.c.h
parent89328f7b129a6e4d7164f954b976bf45da69f0b2 (diff)
downloadcpython-54a05a46002ee1c9211f299df38f444f16866ef5.zip
cpython-54a05a46002ee1c9211f299df38f444f16866ef5.tar.gz
cpython-54a05a46002ee1c9211f299df38f444f16866ef5.tar.bz2
GH-123232: Factor BINARY_SLICE and STORE_SLICE to handle stats properly for tier 2. (GH-123381)
Diffstat (limited to 'Python/executor_cases.c.h')
-rw-r--r--Python/executor_cases.c.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/Python/executor_cases.c.h b/Python/executor_cases.c.h
index 3d0f3b3..0de5c8a 100644
--- a/Python/executor_cases.c.h
+++ b/Python/executor_cases.c.h
@@ -797,7 +797,6 @@
PyObject *slice = _PyBuildSlice_ConsumeRefs(PyStackRef_AsPyObjectSteal(start),
PyStackRef_AsPyObjectSteal(stop));
PyObject *res_o;
- OPCODE_DEFERRED_INC(BINARY_SLICE);
// Can't use ERROR_IF() here, because we haven't
// DECREF'ed container yet, and we still own slice.
if (slice == NULL) {
@@ -827,7 +826,6 @@
v = stack_pointer[-4];
PyObject *slice = _PyBuildSlice_ConsumeRefs(PyStackRef_AsPyObjectSteal(start),
PyStackRef_AsPyObjectSteal(stop));
- OPCODE_DEFERRED_INC(STORE_SLICE);
int err;
if (slice == NULL) {
err = 1;