summaryrefslogtreecommitdiffstats
path: root/Python/instrumentation.c
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2023-06-05 10:07:04 (GMT)
committerGitHub <noreply@github.com>2023-06-05 10:07:04 (GMT)
commit06893403668961fdbd5d9ece18162eb3470fc8dd (patch)
treeb7aeda20407a014944b7044b81e451a50e9f6924 /Python/instrumentation.c
parente8ecb9ee6bec03d0c4490f3e7f1524e56e2f6a0f (diff)
downloadcpython-06893403668961fdbd5d9ece18162eb3470fc8dd.zip
cpython-06893403668961fdbd5d9ece18162eb3470fc8dd.tar.gz
cpython-06893403668961fdbd5d9ece18162eb3470fc8dd.tar.bz2
GH-105229: Replace some superinstructions with single instruction equivalent. (GH-105230)
Diffstat (limited to 'Python/instrumentation.c')
-rw-r--r--Python/instrumentation.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/Python/instrumentation.c b/Python/instrumentation.c
index c324946..d8e47bf 100644
--- a/Python/instrumentation.c
+++ b/Python/instrumentation.c
@@ -1488,10 +1488,7 @@ update_instrumentation_data(PyCodeObject *code, PyInterpreterState *interp)
}
static const uint8_t super_instructions[256] = {
- [LOAD_FAST__LOAD_FAST] = 1,
[LOAD_FAST__LOAD_CONST] = 1,
- [STORE_FAST__LOAD_FAST] = 1,
- [STORE_FAST__STORE_FAST] = 1,
[LOAD_CONST__LOAD_FAST] = 1,
};