2009-01-25 12:34:23 -04:00
|
|
|
static void *opcode_targets[256] = {
|
2022-03-07 15:45:00 -04:00
|
|
|
&&TARGET_CACHE,
|
2023-08-16 19:25:18 -03:00
|
|
|
&&TARGET_BINARY_SLICE,
|
|
|
|
&&TARGET_BINARY_SUBSCR,
|
2024-06-18 08:17:46 -03:00
|
|
|
&&TARGET_BINARY_OP_INPLACE_ADD_UNICODE,
|
2023-08-16 19:25:18 -03:00
|
|
|
&&TARGET_CHECK_EG_MATCH,
|
|
|
|
&&TARGET_CHECK_EXC_MATCH,
|
2022-08-19 16:33:44 -03:00
|
|
|
&&TARGET_CLEANUP_THROW,
|
2023-06-29 17:49:54 -03:00
|
|
|
&&TARGET_DELETE_SUBSCR,
|
2023-08-16 19:25:18 -03:00
|
|
|
&&TARGET_END_ASYNC_FOR,
|
|
|
|
&&TARGET_END_FOR,
|
|
|
|
&&TARGET_END_SEND,
|
|
|
|
&&TARGET_EXIT_INIT_CHECK,
|
|
|
|
&&TARGET_FORMAT_SIMPLE,
|
|
|
|
&&TARGET_FORMAT_WITH_SPEC,
|
|
|
|
&&TARGET_GET_AITER,
|
|
|
|
&&TARGET_GET_ANEXT,
|
2023-06-29 17:49:54 -03:00
|
|
|
&&TARGET_GET_ITER,
|
2024-06-18 08:17:46 -03:00
|
|
|
&&TARGET_RESERVED,
|
2023-08-16 19:25:18 -03:00
|
|
|
&&TARGET_GET_LEN,
|
2023-06-29 17:49:54 -03:00
|
|
|
&&TARGET_GET_YIELD_FROM_ITER,
|
2023-08-16 19:25:18 -03:00
|
|
|
&&TARGET_INTERPRETER_EXIT,
|
|
|
|
&&TARGET_LOAD_BUILD_CLASS,
|
|
|
|
&&TARGET_LOAD_LOCALS,
|
|
|
|
&&TARGET_MAKE_FUNCTION,
|
|
|
|
&&TARGET_MATCH_KEYS,
|
|
|
|
&&TARGET_MATCH_MAPPING,
|
|
|
|
&&TARGET_MATCH_SEQUENCE,
|
|
|
|
&&TARGET_NOP,
|
|
|
|
&&TARGET_POP_EXCEPT,
|
|
|
|
&&TARGET_POP_TOP,
|
|
|
|
&&TARGET_PUSH_EXC_INFO,
|
|
|
|
&&TARGET_PUSH_NULL,
|
2023-06-29 17:49:54 -03:00
|
|
|
&&TARGET_RETURN_GENERATOR,
|
2023-04-12 08:04:55 -03:00
|
|
|
&&TARGET_RETURN_VALUE,
|
|
|
|
&&TARGET_SETUP_ANNOTATIONS,
|
2023-08-16 19:25:18 -03:00
|
|
|
&&TARGET_STORE_SLICE,
|
|
|
|
&&TARGET_STORE_SUBSCR,
|
|
|
|
&&TARGET_TO_BOOL,
|
|
|
|
&&TARGET_UNARY_INVERT,
|
|
|
|
&&TARGET_UNARY_NEGATIVE,
|
|
|
|
&&TARGET_UNARY_NOT,
|
|
|
|
&&TARGET_WITH_EXCEPT_START,
|
|
|
|
&&TARGET_BINARY_OP,
|
2010-05-09 12:52:27 -03:00
|
|
|
&&TARGET_BUILD_LIST,
|
|
|
|
&&TARGET_BUILD_MAP,
|
2023-08-16 19:25:18 -03:00
|
|
|
&&TARGET_BUILD_SET,
|
|
|
|
&&TARGET_BUILD_SLICE,
|
|
|
|
&&TARGET_BUILD_STRING,
|
|
|
|
&&TARGET_BUILD_TUPLE,
|
|
|
|
&&TARGET_CALL,
|
|
|
|
&&TARGET_CALL_FUNCTION_EX,
|
|
|
|
&&TARGET_CALL_INTRINSIC_1,
|
|
|
|
&&TARGET_CALL_INTRINSIC_2,
|
2023-09-13 14:25:45 -03:00
|
|
|
&&TARGET_CALL_KW,
|
2010-05-09 12:52:27 -03:00
|
|
|
&&TARGET_COMPARE_OP,
|
2020-01-14 06:12:45 -04:00
|
|
|
&&TARGET_CONTAINS_OP,
|
2023-08-16 19:25:18 -03:00
|
|
|
&&TARGET_CONVERT_VALUE,
|
2021-10-27 06:45:35 -03:00
|
|
|
&&TARGET_COPY,
|
2023-08-16 19:25:18 -03:00
|
|
|
&&TARGET_COPY_FREE_VARS,
|
|
|
|
&&TARGET_DELETE_ATTR,
|
|
|
|
&&TARGET_DELETE_DEREF,
|
2010-05-09 12:52:27 -03:00
|
|
|
&&TARGET_DELETE_FAST,
|
2023-08-16 19:25:18 -03:00
|
|
|
&&TARGET_DELETE_GLOBAL,
|
|
|
|
&&TARGET_DELETE_NAME,
|
|
|
|
&&TARGET_DICT_MERGE,
|
|
|
|
&&TARGET_DICT_UPDATE,
|
|
|
|
&&TARGET_EXTENDED_ARG,
|
|
|
|
&&TARGET_FOR_ITER,
|
|
|
|
&&TARGET_GET_AWAITABLE,
|
|
|
|
&&TARGET_IMPORT_FROM,
|
|
|
|
&&TARGET_IMPORT_NAME,
|
|
|
|
&&TARGET_IS_OP,
|
|
|
|
&&TARGET_JUMP_BACKWARD,
|
2022-04-05 08:49:08 -03:00
|
|
|
&&TARGET_JUMP_BACKWARD_NO_INTERRUPT,
|
2023-08-16 19:25:18 -03:00
|
|
|
&&TARGET_JUMP_FORWARD,
|
|
|
|
&&TARGET_LIST_APPEND,
|
|
|
|
&&TARGET_LIST_EXTEND,
|
|
|
|
&&TARGET_LOAD_ATTR,
|
2024-05-21 21:46:39 -03:00
|
|
|
&&TARGET_LOAD_COMMON_CONSTANT,
|
2023-08-16 19:25:18 -03:00
|
|
|
&&TARGET_LOAD_CONST,
|
2010-05-09 12:52:27 -03:00
|
|
|
&&TARGET_LOAD_DEREF,
|
2023-08-16 19:25:18 -03:00
|
|
|
&&TARGET_LOAD_FAST,
|
2023-05-09 14:02:14 -03:00
|
|
|
&&TARGET_LOAD_FAST_AND_CLEAR,
|
2023-08-16 19:25:18 -03:00
|
|
|
&&TARGET_LOAD_FAST_CHECK,
|
|
|
|
&&TARGET_LOAD_FAST_LOAD_FAST,
|
|
|
|
&&TARGET_LOAD_FROM_DICT_OR_DEREF,
|
|
|
|
&&TARGET_LOAD_FROM_DICT_OR_GLOBALS,
|
|
|
|
&&TARGET_LOAD_GLOBAL,
|
|
|
|
&&TARGET_LOAD_NAME,
|
2024-10-29 08:15:42 -03:00
|
|
|
&&TARGET_LOAD_SMALL_INT,
|
2024-06-18 08:17:46 -03:00
|
|
|
&&TARGET_LOAD_SPECIAL,
|
2023-08-16 19:25:18 -03:00
|
|
|
&&TARGET_LOAD_SUPER_ATTR,
|
|
|
|
&&TARGET_MAKE_CELL,
|
2010-05-09 12:52:27 -03:00
|
|
|
&&TARGET_MAP_ADD,
|
2021-02-26 18:51:55 -04:00
|
|
|
&&TARGET_MATCH_CLASS,
|
2023-08-16 19:25:18 -03:00
|
|
|
&&TARGET_POP_JUMP_IF_FALSE,
|
|
|
|
&&TARGET_POP_JUMP_IF_NONE,
|
|
|
|
&&TARGET_POP_JUMP_IF_NOT_NONE,
|
|
|
|
&&TARGET_POP_JUMP_IF_TRUE,
|
|
|
|
&&TARGET_RAISE_VARARGS,
|
2023-09-07 10:39:03 -03:00
|
|
|
&&TARGET_RERAISE,
|
2023-08-16 19:25:18 -03:00
|
|
|
&&TARGET_SEND,
|
|
|
|
&&TARGET_SET_ADD,
|
|
|
|
&&TARGET_SET_FUNCTION_ATTRIBUTE,
|
2022-11-09 14:50:09 -04:00
|
|
|
&&TARGET_SET_UPDATE,
|
2023-08-16 19:25:18 -03:00
|
|
|
&&TARGET_STORE_ATTR,
|
|
|
|
&&TARGET_STORE_DEREF,
|
|
|
|
&&TARGET_STORE_FAST,
|
2023-06-05 07:07:04 -03:00
|
|
|
&&TARGET_STORE_FAST_LOAD_FAST,
|
|
|
|
&&TARGET_STORE_FAST_STORE_FAST,
|
2023-08-16 19:25:18 -03:00
|
|
|
&&TARGET_STORE_GLOBAL,
|
|
|
|
&&TARGET_STORE_NAME,
|
|
|
|
&&TARGET_SWAP,
|
|
|
|
&&TARGET_UNPACK_EX,
|
|
|
|
&&TARGET_UNPACK_SEQUENCE,
|
2023-11-03 07:01:36 -03:00
|
|
|
&&TARGET_YIELD_VALUE,
|
2024-10-07 10:56:39 -03:00
|
|
|
&&_unknown_opcode,
|
2010-05-09 12:52:27 -03:00
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
2024-06-18 08:17:46 -03:00
|
|
|
&&_unknown_opcode,
|
2024-07-25 12:24:29 -03:00
|
|
|
&&_unknown_opcode,
|
2010-05-09 12:52:27 -03:00
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
2022-09-01 17:36:47 -03:00
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
2010-05-09 12:52:27 -03:00
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
2024-08-13 10:22:57 -03:00
|
|
|
&&_unknown_opcode,
|
2023-09-12 07:36:17 -03:00
|
|
|
&&TARGET_RESUME,
|
|
|
|
&&TARGET_BINARY_OP_ADD_FLOAT,
|
|
|
|
&&TARGET_BINARY_OP_ADD_INT,
|
|
|
|
&&TARGET_BINARY_OP_ADD_UNICODE,
|
|
|
|
&&TARGET_BINARY_OP_MULTIPLY_FLOAT,
|
|
|
|
&&TARGET_BINARY_OP_MULTIPLY_INT,
|
|
|
|
&&TARGET_BINARY_OP_SUBTRACT_FLOAT,
|
|
|
|
&&TARGET_BINARY_OP_SUBTRACT_INT,
|
|
|
|
&&TARGET_BINARY_SUBSCR_DICT,
|
|
|
|
&&TARGET_BINARY_SUBSCR_GETITEM,
|
|
|
|
&&TARGET_BINARY_SUBSCR_LIST_INT,
|
|
|
|
&&TARGET_BINARY_SUBSCR_STR_INT,
|
|
|
|
&&TARGET_BINARY_SUBSCR_TUPLE_INT,
|
2023-09-13 14:25:45 -03:00
|
|
|
&&TARGET_CALL_ALLOC_AND_ENTER_INIT,
|
2023-09-12 07:36:17 -03:00
|
|
|
&&TARGET_CALL_BOUND_METHOD_EXACT_ARGS,
|
2024-05-04 08:11:11 -03:00
|
|
|
&&TARGET_CALL_BOUND_METHOD_GENERAL,
|
2023-09-12 07:36:17 -03:00
|
|
|
&&TARGET_CALL_BUILTIN_CLASS,
|
2023-09-13 14:25:45 -03:00
|
|
|
&&TARGET_CALL_BUILTIN_FAST,
|
2023-09-12 07:36:17 -03:00
|
|
|
&&TARGET_CALL_BUILTIN_FAST_WITH_KEYWORDS,
|
2023-09-13 14:25:45 -03:00
|
|
|
&&TARGET_CALL_BUILTIN_O,
|
|
|
|
&&TARGET_CALL_ISINSTANCE,
|
2024-08-16 13:11:24 -03:00
|
|
|
&&TARGET_CALL_KW_BOUND_METHOD,
|
|
|
|
&&TARGET_CALL_KW_NON_PY,
|
|
|
|
&&TARGET_CALL_KW_PY,
|
2023-09-13 14:25:45 -03:00
|
|
|
&&TARGET_CALL_LEN,
|
|
|
|
&&TARGET_CALL_LIST_APPEND,
|
|
|
|
&&TARGET_CALL_METHOD_DESCRIPTOR_FAST,
|
2023-09-12 07:36:17 -03:00
|
|
|
&&TARGET_CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS,
|
2023-09-13 14:25:45 -03:00
|
|
|
&&TARGET_CALL_METHOD_DESCRIPTOR_NOARGS,
|
|
|
|
&&TARGET_CALL_METHOD_DESCRIPTOR_O,
|
2024-05-04 08:11:11 -03:00
|
|
|
&&TARGET_CALL_NON_PY_GENERAL,
|
2023-09-12 07:36:17 -03:00
|
|
|
&&TARGET_CALL_PY_EXACT_ARGS,
|
2024-05-04 08:11:11 -03:00
|
|
|
&&TARGET_CALL_PY_GENERAL,
|
2023-09-13 14:25:45 -03:00
|
|
|
&&TARGET_CALL_STR_1,
|
|
|
|
&&TARGET_CALL_TUPLE_1,
|
|
|
|
&&TARGET_CALL_TYPE_1,
|
2023-09-12 07:36:17 -03:00
|
|
|
&&TARGET_COMPARE_OP_FLOAT,
|
|
|
|
&&TARGET_COMPARE_OP_INT,
|
|
|
|
&&TARGET_COMPARE_OP_STR,
|
2024-03-06 15:30:11 -04:00
|
|
|
&&TARGET_CONTAINS_OP_DICT,
|
|
|
|
&&TARGET_CONTAINS_OP_SET,
|
2023-09-12 07:36:17 -03:00
|
|
|
&&TARGET_FOR_ITER_GEN,
|
|
|
|
&&TARGET_FOR_ITER_LIST,
|
|
|
|
&&TARGET_FOR_ITER_RANGE,
|
|
|
|
&&TARGET_FOR_ITER_TUPLE,
|
|
|
|
&&TARGET_LOAD_ATTR_CLASS,
|
2024-08-23 06:22:35 -03:00
|
|
|
&&TARGET_LOAD_ATTR_CLASS_WITH_METACLASS_CHECK,
|
2023-09-12 07:36:17 -03:00
|
|
|
&&TARGET_LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN,
|
|
|
|
&&TARGET_LOAD_ATTR_INSTANCE_VALUE,
|
|
|
|
&&TARGET_LOAD_ATTR_METHOD_LAZY_DICT,
|
|
|
|
&&TARGET_LOAD_ATTR_METHOD_NO_DICT,
|
|
|
|
&&TARGET_LOAD_ATTR_METHOD_WITH_VALUES,
|
|
|
|
&&TARGET_LOAD_ATTR_MODULE,
|
|
|
|
&&TARGET_LOAD_ATTR_NONDESCRIPTOR_NO_DICT,
|
|
|
|
&&TARGET_LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES,
|
|
|
|
&&TARGET_LOAD_ATTR_PROPERTY,
|
|
|
|
&&TARGET_LOAD_ATTR_SLOT,
|
|
|
|
&&TARGET_LOAD_ATTR_WITH_HINT,
|
2024-10-29 08:15:42 -03:00
|
|
|
&&TARGET_LOAD_CONST_IMMORTAL,
|
2023-09-12 07:36:17 -03:00
|
|
|
&&TARGET_LOAD_GLOBAL_BUILTIN,
|
|
|
|
&&TARGET_LOAD_GLOBAL_MODULE,
|
|
|
|
&&TARGET_LOAD_SUPER_ATTR_ATTR,
|
|
|
|
&&TARGET_LOAD_SUPER_ATTR_METHOD,
|
|
|
|
&&TARGET_RESUME_CHECK,
|
|
|
|
&&TARGET_SEND_GEN,
|
|
|
|
&&TARGET_STORE_ATTR_INSTANCE_VALUE,
|
|
|
|
&&TARGET_STORE_ATTR_SLOT,
|
|
|
|
&&TARGET_STORE_ATTR_WITH_HINT,
|
|
|
|
&&TARGET_STORE_SUBSCR_DICT,
|
|
|
|
&&TARGET_STORE_SUBSCR_LIST_INT,
|
|
|
|
&&TARGET_TO_BOOL_ALWAYS_TRUE,
|
|
|
|
&&TARGET_TO_BOOL_BOOL,
|
|
|
|
&&TARGET_TO_BOOL_INT,
|
|
|
|
&&TARGET_TO_BOOL_LIST,
|
|
|
|
&&TARGET_TO_BOOL_NONE,
|
|
|
|
&&TARGET_TO_BOOL_STR,
|
|
|
|
&&TARGET_UNPACK_SEQUENCE_LIST,
|
|
|
|
&&TARGET_UNPACK_SEQUENCE_TUPLE,
|
|
|
|
&&TARGET_UNPACK_SEQUENCE_TWO_TUPLE,
|
2010-05-09 12:52:27 -03:00
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
2024-03-07 12:21:21 -04:00
|
|
|
&&_unknown_opcode,
|
2010-05-09 12:52:27 -03:00
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
2023-08-16 19:25:18 -03:00
|
|
|
&&TARGET_INSTRUMENTED_END_FOR,
|
|
|
|
&&TARGET_INSTRUMENTED_END_SEND,
|
|
|
|
&&TARGET_INSTRUMENTED_LOAD_SUPER_ATTR,
|
|
|
|
&&TARGET_INSTRUMENTED_FOR_ITER,
|
2023-09-13 14:25:45 -03:00
|
|
|
&&TARGET_INSTRUMENTED_CALL_KW,
|
2023-04-12 08:04:55 -03:00
|
|
|
&&TARGET_INSTRUMENTED_CALL_FUNCTION_EX,
|
2023-08-16 19:25:18 -03:00
|
|
|
&&TARGET_INSTRUMENTED_INSTRUCTION,
|
2023-04-12 08:04:55 -03:00
|
|
|
&&TARGET_INSTRUMENTED_JUMP_FORWARD,
|
|
|
|
&&TARGET_INSTRUMENTED_POP_JUMP_IF_TRUE,
|
2023-08-16 19:25:18 -03:00
|
|
|
&&TARGET_INSTRUMENTED_POP_JUMP_IF_FALSE,
|
|
|
|
&&TARGET_INSTRUMENTED_POP_JUMP_IF_NONE,
|
|
|
|
&&TARGET_INSTRUMENTED_POP_JUMP_IF_NOT_NONE,
|
2024-08-14 08:04:05 -03:00
|
|
|
&&TARGET_INSTRUMENTED_RESUME,
|
2024-07-26 08:24:12 -03:00
|
|
|
&&TARGET_INSTRUMENTED_RETURN_VALUE,
|
|
|
|
&&TARGET_INSTRUMENTED_YIELD_VALUE,
|
2024-07-26 10:35:57 -03:00
|
|
|
&&TARGET_INSTRUMENTED_CALL,
|
2024-08-14 08:04:05 -03:00
|
|
|
&&TARGET_INSTRUMENTED_JUMP_BACKWARD,
|
2023-04-12 08:04:55 -03:00
|
|
|
&&TARGET_INSTRUMENTED_LINE,
|
2024-08-13 10:22:57 -03:00
|
|
|
&&TARGET_ENTER_EXECUTOR,
|
2023-12-20 11:09:12 -04:00
|
|
|
};
|