summaryrefslogtreecommitdiffstats
path: root/Python/opcode_targets.h
diff options
context:
space:
mode:
authorKen Jin <28750310+Fidget-Spinner@users.noreply.github.com>2021-05-15 15:15:23 (GMT)
committerGitHub <noreply@github.com>2021-05-15 15:15:23 (GMT)
commitf24afda5917ce1710ad08ca34b2509f1f2b16de2 (patch)
tree72513ebad5e8235d451cffdb27f67182606b686f /Python/opcode_targets.h
parente4e931a67e49cf3c61263dc94fb0806c34f972cd (diff)
downloadcpython-f24afda5917ce1710ad08ca34b2509f1f2b16de2.zip
cpython-f24afda5917ce1710ad08ca34b2509f1f2b16de2.tar.gz
cpython-f24afda5917ce1710ad08ca34b2509f1f2b16de2.tar.bz2
bpo-26110: Add ``CALL_METHOD_KW`` opcode to speedup method calls with keywords (GH-26014)
* Add CALL_METHOD_KW * Make CALL_METHOD branchless too since it shares the same code * Place parentheses in STACK_SHRINK
Diffstat (limited to 'Python/opcode_targets.h')
-rw-r--r--Python/opcode_targets.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/opcode_targets.h b/Python/opcode_targets.h
index 7c22428..65c03ef 100644
--- a/Python/opcode_targets.h
+++ b/Python/opcode_targets.h
@@ -165,7 +165,7 @@ static void *opcode_targets[256] = {
&&TARGET_SET_UPDATE,
&&TARGET_DICT_MERGE,
&&TARGET_DICT_UPDATE,
- &&_unknown_opcode,
+ &&TARGET_CALL_METHOD_KW,
&&_unknown_opcode,
&&_unknown_opcode,
&&_unknown_opcode,