diff options
author | Mark Shannon <mark@hotpy.org> | 2021-06-14 10:04:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-14 10:04:09 (GMT) |
commit | eecbc7c3900a7f40d8498b151db543a202c72f74 (patch) | |
tree | 6be5d67366f8df3e24c3dbed0786ec3c4a29bf1b /Lib/opcode.py | |
parent | fafcfff9262ae9dee03a00006638dfcbcfc23a7b (diff) | |
download | cpython-eecbc7c3900a7f40d8498b151db543a202c72f74.zip cpython-eecbc7c3900a7f40d8498b151db543a202c72f74.tar.gz cpython-eecbc7c3900a7f40d8498b151db543a202c72f74.tar.bz2 |
bpo-44338: Port LOAD_GLOBAL to PEP 659 adaptive interpreter (GH-26638)
* Add specializations of LOAD_GLOBAL.
* Add more stats.
* Remove old opcache; it is no longer used.
* Add NEWS
Diffstat (limited to 'Lib/opcode.py')
-rw-r--r-- | Lib/opcode.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/opcode.py b/Lib/opcode.py index 265759e..7e5916a 100644 --- a/Lib/opcode.py +++ b/Lib/opcode.py @@ -226,4 +226,7 @@ _specialized_instructions = [ "LOAD_ATTR_WITH_HINT", "LOAD_ATTR_SLOT", "LOAD_ATTR_MODULE", + "LOAD_GLOBAL_ADAPTIVE", + "LOAD_GLOBAL_MODULE", + "LOAD_GLOBAL_BUILTIN", ] |