summaryrefslogtreecommitdiffstats
path: root/Lib/opcode.py
diff options
context:
space:
mode:
authorDong-hee Na <donghee.na@python.org>2023-03-14 20:20:14 (GMT)
committerGitHub <noreply@github.com>2023-03-14 20:20:14 (GMT)
commitd77c48740f5cd17597693bd0d27e32db725fa3a0 (patch)
tree09a11de107925b819565dbc161655cd01d29218e /Lib/opcode.py
parentcdb21ba74d933e262bc1696b6ce78b50cb5a4443 (diff)
downloadcpython-d77c48740f5cd17597693bd0d27e32db725fa3a0.zip
cpython-d77c48740f5cd17597693bd0d27e32db725fa3a0.tar.gz
cpython-d77c48740f5cd17597693bd0d27e32db725fa3a0.tar.bz2
gh-102674: Remove _specialization_stats from Lib/opcode.py (#102685)
It's not use except in a test, so move it there instead.
Diffstat (limited to 'Lib/opcode.py')
-rw-r--r--Lib/opcode.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/Lib/opcode.py b/Lib/opcode.py
index 23529d8..d4a2d55 100644
--- a/Lib/opcode.py
+++ b/Lib/opcode.py
@@ -377,14 +377,6 @@ _specializations = {
_specialized_instructions = [
opcode for family in _specializations.values() for opcode in family
]
-_specialization_stats = [
- "success",
- "failure",
- "hit",
- "deferred",
- "miss",
- "deopt",
-]
_cache_format = {
"LOAD_GLOBAL": {