summaryrefslogtreecommitdiffstats
path: root/Python/bytecodes.c
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2024-05-28 19:05:38 (GMT)
committerGitHub <noreply@github.com>2024-05-28 19:05:38 (GMT)
commitae9140f32a1630838374f1af402291d4649a0be0 (patch)
tree35afdd4e502a0acef5dacfa0d26ad7ed92b9d1a8 /Python/bytecodes.c
parent6b240c2308a044e38623900ccb8fa58c3549d4ae (diff)
downloadcpython-ae9140f32a1630838374f1af402291d4649a0be0.zip
cpython-ae9140f32a1630838374f1af402291d4649a0be0.tar.gz
cpython-ae9140f32a1630838374f1af402291d4649a0be0.tar.bz2
gh-119676: remove several pseudo instructions which are use only in codegen (#119677)
Diffstat (limited to 'Python/bytecodes.c')
-rw-r--r--Python/bytecodes.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/Python/bytecodes.c b/Python/bytecodes.c
index b48f913..025fed3 100644
--- a/Python/bytecodes.c
+++ b/Python/bytecodes.c
@@ -1812,18 +1812,6 @@ dummy_func(
macro(LOAD_SUPER_ATTR) = _SPECIALIZE_LOAD_SUPER_ATTR + _LOAD_SUPER_ATTR;
- pseudo(LOAD_SUPER_METHOD) = {
- LOAD_SUPER_ATTR,
- };
-
- pseudo(LOAD_ZERO_SUPER_METHOD) = {
- LOAD_SUPER_ATTR,
- };
-
- pseudo(LOAD_ZERO_SUPER_ATTR) = {
- LOAD_SUPER_ATTR,
- };
-
inst(LOAD_SUPER_ATTR_ATTR, (unused/1, global_super, class, self -- attr, unused if (0))) {
assert(!(oparg & 1));
DEOPT_IF(global_super != (PyObject *)&PySuper_Type);
@@ -1925,10 +1913,6 @@ dummy_func(
unused/8 +
_LOAD_ATTR;
- pseudo(LOAD_METHOD) = {
- LOAD_ATTR,
- };
-
op(_GUARD_TYPE_VERSION, (type_version/2, owner -- owner)) {
PyTypeObject *tp = Py_TYPE(owner);
assert(type_version != 0);