]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44889: Specialize LOAD_METHOD with PEP 659 adaptive interpreter (GH-27722)
authorKen Jin <28750310+Fidget-Spinner@users.noreply.github.com>
Tue, 17 Aug 2021 14:55:55 +0000 (22:55 +0800)
committerGitHub <noreply@github.com>
Tue, 17 Aug 2021 14:55:55 +0000 (15:55 +0100)
commit96346cb6d0593ef9ec122614347ccb053cd63433
tree9f2b952134803d5de5229ece709b19e29ef0e7ab
parentfcd651d16fc5ac3d07dd3f57f1001a861a2e7d23
bpo-44889: Specialize LOAD_METHOD with PEP 659 adaptive interpreter (GH-27722)

Adds four new instructions:

* LOAD_METHOD_ADAPTIVE
* LOAD_METHOD_CACHED
* LOAD_METHOD_MODULE
* LOAD_METHOD_CLASS
Include/internal/pycore_code.h
Include/opcode.h
Lib/opcode.py
Misc/NEWS.d/next/Core and Builtins/2021-08-11-20-45-02.bpo-44889.2T3nTn.rst [new file with mode: 0644]
Python/ceval.c
Python/opcode_targets.h
Python/specialize.c