bpo-44525: Specialize `CALL_FUNCTION` for C function calls (GH-26934)

This commit is contained in:
Ken Jin 2021-10-20 07:16:36 +08:00 committed by GitHub
parent 3592980f91
commit 3163e68c34
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 365 additions and 50 deletions

View file

@ -232,6 +232,11 @@ _specialized_instructions = [
"BINARY_SUBSCR_LIST_INT",
"BINARY_SUBSCR_TUPLE_INT",
"BINARY_SUBSCR_DICT",
"CALL_FUNCTION_ADAPTIVE",
"CALL_FUNCTION_BUILTIN_O",
"CALL_FUNCTION_BUILTIN_FAST",
"CALL_FUNCTION_LEN",
"CALL_FUNCTION_ISINSTANCE",
"JUMP_ABSOLUTE_QUICK",
"LOAD_ATTR_ADAPTIVE",
"LOAD_ATTR_INSTANCE_VALUE",