diff options
author | Mark Shannon <mark@hotpy.org> | 2024-08-16 16:11:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-16 16:11:24 (GMT) |
commit | c13e7d98fb8581014a225b900b1b88ccbfc28097 (patch) | |
tree | 2b27e6bbae922f421fbbae0fb761492031752b8a /Python/optimizer_bytecodes.c | |
parent | e2f2dc708eae89f41e328501b5ea7c97b8e39907 (diff) | |
download | cpython-c13e7d98fb8581014a225b900b1b88ccbfc28097.zip cpython-c13e7d98fb8581014a225b900b1b88ccbfc28097.tar.gz cpython-c13e7d98fb8581014a225b900b1b88ccbfc28097.tar.bz2 |
GH-118093: Specialize `CALL_KW` (GH-123006)
Diffstat (limited to 'Python/optimizer_bytecodes.c')
-rw-r--r-- | Python/optimizer_bytecodes.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Python/optimizer_bytecodes.c b/Python/optimizer_bytecodes.c index 010733e..97e4c64 100644 --- a/Python/optimizer_bytecodes.c +++ b/Python/optimizer_bytecodes.c @@ -627,6 +627,15 @@ dummy_func(void) { ctx->done = true; } + op(_PY_FRAME_KW, (callable, self_or_null, args[oparg], kwnames -- new_frame: _Py_UOpsAbstractFrame*)) { + (void)callable; + (void)self_or_null; + (void)args; + (void)kwnames; + new_frame = NULL; + ctx->done = true; + } + op(_RETURN_VALUE, (retval -- res)) { SYNC_SP(); ctx->frame->stack_pointer = stack_pointer; |