summaryrefslogtreecommitdiffstats
path: root/Tools/build
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2023-07-18 18:42:44 (GMT)
committerGitHub <noreply@github.com>2023-07-18 18:42:44 (GMT)
commit40f3f11a773b854c6d94746aa3b1881c8ac71b0f (patch)
treec82e804e0006a9bd35d0b3715afa51bf035ea7db /Tools/build
parent3535ef1eec2563bbd7bff7c830465441fbbf759e (diff)
downloadcpython-40f3f11a773b854c6d94746aa3b1881c8ac71b0f.zip
cpython-40f3f11a773b854c6d94746aa3b1881c8ac71b0f.tar.gz
cpython-40f3f11a773b854c6d94746aa3b1881c8ac71b0f.tar.bz2
gh-105481: Generate the opcode lists in dis from data extracted from bytecodes.c (#106758)
Diffstat (limited to 'Tools/build')
-rw-r--r--Tools/build/generate_opcode_h.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/Tools/build/generate_opcode_h.py b/Tools/build/generate_opcode_h.py
index 2e841e6..5b0560e 100644
--- a/Tools/build/generate_opcode_h.py
+++ b/Tools/build/generate_opcode_h.py
@@ -84,13 +84,7 @@ def main(opcode_py,
opcode = get_python_module_dict(opcode_py)
opmap = opcode['opmap']
opname = opcode['opname']
- hasarg = opcode['hasarg']
- hasconst = opcode['hasconst']
- hasjrel = opcode['hasjrel']
- hasjabs = opcode['hasjabs']
is_pseudo = opcode['is_pseudo']
- _pseudo_ops = opcode['_pseudo_ops']
-
ENABLE_SPECIALIZATION = opcode["ENABLE_SPECIALIZATION"]
MIN_PSEUDO_OPCODE = opcode["MIN_PSEUDO_OPCODE"]