2009-01-25 12:34:23 -04:00
|
|
|
static void *opcode_targets[256] = {
|
2022-03-07 15:45:00 -04:00
|
|
|
&&TARGET_CACHE,
|
2010-05-09 12:52:27 -03:00
|
|
|
&&TARGET_POP_TOP,
|
2022-02-18 13:19:08 -04:00
|
|
|
&&TARGET_PUSH_NULL,
|
2022-11-10 08:34:57 -04:00
|
|
|
&&TARGET_INTERPRETER_EXIT,
|
2022-11-09 14:50:09 -04:00
|
|
|
&&TARGET_END_FOR,
|
2023-04-12 08:04:55 -03:00
|
|
|
&&TARGET_END_SEND,
|
2023-06-29 17:49:54 -03:00
|
|
|
&&TARGET_TO_BOOL,
|
|
|
|
&&TARGET_TO_BOOL_ALWAYS_TRUE,
|
|
|
|
&&TARGET_TO_BOOL_BOOL,
|
2022-01-26 16:47:45 -04:00
|
|
|
&&TARGET_NOP,
|
2023-06-29 17:49:54 -03:00
|
|
|
&&TARGET_TO_BOOL_INT,
|
2022-01-26 16:47:45 -04:00
|
|
|
&&TARGET_UNARY_NEGATIVE,
|
|
|
|
&&TARGET_UNARY_NOT,
|
2023-06-29 17:49:54 -03:00
|
|
|
&&TARGET_TO_BOOL_LIST,
|
|
|
|
&&TARGET_TO_BOOL_NONE,
|
2023-06-19 19:47:04 -03:00
|
|
|
&&TARGET_UNARY_INVERT,
|
2023-06-22 05:48:19 -03:00
|
|
|
&&TARGET_EXIT_INIT_CHECK,
|
2023-04-12 08:04:55 -03:00
|
|
|
&&TARGET_RESERVED,
|
2023-06-29 17:49:54 -03:00
|
|
|
&&TARGET_TO_BOOL_STR,
|
|
|
|
&&TARGET_BINARY_OP_MULTIPLY_INT,
|
|
|
|
&&TARGET_BINARY_OP_ADD_INT,
|
|
|
|
&&TARGET_BINARY_OP_SUBTRACT_INT,
|
|
|
|
&&TARGET_BINARY_OP_MULTIPLY_FLOAT,
|
|
|
|
&&TARGET_BINARY_OP_ADD_FLOAT,
|
2023-06-13 05:51:05 -03:00
|
|
|
&&TARGET_MAKE_FUNCTION,
|
2022-03-07 15:45:00 -04:00
|
|
|
&&TARGET_BINARY_SUBSCR,
|
2022-06-27 08:24:23 -03:00
|
|
|
&&TARGET_BINARY_SLICE,
|
|
|
|
&&TARGET_STORE_SLICE,
|
2023-06-29 17:49:54 -03:00
|
|
|
&&TARGET_BINARY_OP_SUBTRACT_FLOAT,
|
|
|
|
&&TARGET_BINARY_OP_ADD_UNICODE,
|
2022-01-26 16:47:45 -04:00
|
|
|
&&TARGET_GET_LEN,
|
|
|
|
&&TARGET_MATCH_MAPPING,
|
|
|
|
&&TARGET_MATCH_SEQUENCE,
|
|
|
|
&&TARGET_MATCH_KEYS,
|
2023-06-29 17:49:54 -03:00
|
|
|
&&TARGET_BINARY_OP_INPLACE_ADD_UNICODE,
|
2022-03-21 08:11:17 -03:00
|
|
|
&&TARGET_PUSH_EXC_INFO,
|
2022-04-01 09:59:38 -03:00
|
|
|
&&TARGET_CHECK_EXC_MATCH,
|
2022-04-05 08:06:22 -03:00
|
|
|
&&TARGET_CHECK_EG_MATCH,
|
2023-06-29 17:49:54 -03:00
|
|
|
&&TARGET_BINARY_SUBSCR_DICT,
|
|
|
|
&&TARGET_BINARY_SUBSCR_GETITEM,
|
2023-06-14 12:15:08 -03:00
|
|
|
&&TARGET_FORMAT_SIMPLE,
|
|
|
|
&&TARGET_FORMAT_WITH_SPEC,
|
2023-06-29 17:49:54 -03:00
|
|
|
&&TARGET_BINARY_SUBSCR_LIST_INT,
|
|
|
|
&&TARGET_BINARY_SUBSCR_TUPLE_INT,
|
|
|
|
&&TARGET_STORE_SUBSCR_DICT,
|
|
|
|
&&TARGET_STORE_SUBSCR_LIST_INT,
|
|
|
|
&&TARGET_SEND_GEN,
|
|
|
|
&&TARGET_UNPACK_SEQUENCE_TWO_TUPLE,
|
|
|
|
&&TARGET_UNPACK_SEQUENCE_TUPLE,
|
2022-05-19 07:05:26 -03:00
|
|
|
&&TARGET_WITH_EXCEPT_START,
|
|
|
|
&&TARGET_GET_AITER,
|
|
|
|
&&TARGET_GET_ANEXT,
|
|
|
|
&&TARGET_BEFORE_ASYNC_WITH,
|
|
|
|
&&TARGET_BEFORE_WITH,
|
|
|
|
&&TARGET_END_ASYNC_FOR,
|
2022-08-19 16:33:44 -03:00
|
|
|
&&TARGET_CLEANUP_THROW,
|
2023-06-29 17:49:54 -03:00
|
|
|
&&TARGET_UNPACK_SEQUENCE_LIST,
|
|
|
|
&&TARGET_STORE_ATTR_INSTANCE_VALUE,
|
|
|
|
&&TARGET_STORE_ATTR_SLOT,
|
|
|
|
&&TARGET_STORE_ATTR_WITH_HINT,
|
|
|
|
&&TARGET_STORE_SUBSCR,
|
|
|
|
&&TARGET_DELETE_SUBSCR,
|
|
|
|
&&TARGET_LOAD_GLOBAL_MODULE,
|
|
|
|
&&TARGET_LOAD_GLOBAL_BUILTIN,
|
|
|
|
&&TARGET_LOAD_SUPER_ATTR_ATTR,
|
2023-06-22 05:48:19 -03:00
|
|
|
&&TARGET_LOAD_SUPER_ATTR_METHOD,
|
2023-06-19 19:47:04 -03:00
|
|
|
&&TARGET_LOAD_ATTR_INSTANCE_VALUE,
|
|
|
|
&&TARGET_LOAD_ATTR_MODULE,
|
2023-06-29 17:49:54 -03:00
|
|
|
&&TARGET_GET_ITER,
|
|
|
|
&&TARGET_GET_YIELD_FROM_ITER,
|
2023-06-19 19:47:04 -03:00
|
|
|
&&TARGET_LOAD_ATTR_WITH_HINT,
|
2023-06-29 17:49:54 -03:00
|
|
|
&&TARGET_LOAD_BUILD_CLASS,
|
2023-06-22 05:48:19 -03:00
|
|
|
&&TARGET_LOAD_ATTR_SLOT,
|
2023-06-19 19:47:04 -03:00
|
|
|
&&TARGET_LOAD_ATTR_CLASS,
|
2023-06-29 17:49:54 -03:00
|
|
|
&&TARGET_LOAD_ASSERTION_ERROR,
|
|
|
|
&&TARGET_RETURN_GENERATOR,
|
2023-06-19 19:47:04 -03:00
|
|
|
&&TARGET_LOAD_ATTR_PROPERTY,
|
|
|
|
&&TARGET_LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN,
|
|
|
|
&&TARGET_LOAD_ATTR_METHOD_WITH_VALUES,
|
|
|
|
&&TARGET_LOAD_ATTR_METHOD_NO_DICT,
|
2023-06-22 05:48:19 -03:00
|
|
|
&&TARGET_LOAD_ATTR_METHOD_LAZY_DICT,
|
2023-07-10 07:40:35 -03:00
|
|
|
&&TARGET_LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES,
|
|
|
|
&&TARGET_LOAD_ATTR_NONDESCRIPTOR_NO_DICT,
|
2023-04-12 08:04:55 -03:00
|
|
|
&&TARGET_RETURN_VALUE,
|
2023-07-10 07:40:35 -03:00
|
|
|
&&TARGET_COMPARE_OP_FLOAT,
|
2023-04-12 08:04:55 -03:00
|
|
|
&&TARGET_SETUP_ANNOTATIONS,
|
2023-07-10 07:40:35 -03:00
|
|
|
&&TARGET_COMPARE_OP_INT,
|
2023-05-16 00:36:23 -03:00
|
|
|
&&TARGET_LOAD_LOCALS,
|
2023-07-10 07:40:35 -03:00
|
|
|
&&TARGET_COMPARE_OP_STR,
|
2010-05-09 12:52:27 -03:00
|
|
|
&&TARGET_POP_EXCEPT,
|
|
|
|
&&TARGET_STORE_NAME,
|
|
|
|
&&TARGET_DELETE_NAME,
|
|
|
|
&&TARGET_UNPACK_SEQUENCE,
|
|
|
|
&&TARGET_FOR_ITER,
|
|
|
|
&&TARGET_UNPACK_EX,
|
|
|
|
&&TARGET_STORE_ATTR,
|
|
|
|
&&TARGET_DELETE_ATTR,
|
|
|
|
&&TARGET_STORE_GLOBAL,
|
|
|
|
&&TARGET_DELETE_GLOBAL,
|
2022-01-26 16:47:45 -04:00
|
|
|
&&TARGET_SWAP,
|
2010-05-09 12:52:27 -03:00
|
|
|
&&TARGET_LOAD_CONST,
|
|
|
|
&&TARGET_LOAD_NAME,
|
|
|
|
&&TARGET_BUILD_TUPLE,
|
|
|
|
&&TARGET_BUILD_LIST,
|
|
|
|
&&TARGET_BUILD_SET,
|
|
|
|
&&TARGET_BUILD_MAP,
|
|
|
|
&&TARGET_LOAD_ATTR,
|
|
|
|
&&TARGET_COMPARE_OP,
|
|
|
|
&&TARGET_IMPORT_NAME,
|
|
|
|
&&TARGET_IMPORT_FROM,
|
|
|
|
&&TARGET_JUMP_FORWARD,
|
2023-07-10 07:40:35 -03:00
|
|
|
&&TARGET_FOR_ITER_LIST,
|
|
|
|
&&TARGET_FOR_ITER_TUPLE,
|
2023-06-29 17:49:54 -03:00
|
|
|
&&TARGET_FOR_ITER_RANGE,
|
2022-09-01 17:36:47 -03:00
|
|
|
&&TARGET_POP_JUMP_IF_FALSE,
|
|
|
|
&&TARGET_POP_JUMP_IF_TRUE,
|
2010-05-09 12:52:27 -03:00
|
|
|
&&TARGET_LOAD_GLOBAL,
|
2020-01-14 06:12:45 -04:00
|
|
|
&&TARGET_IS_OP,
|
|
|
|
&&TARGET_CONTAINS_OP,
|
2020-12-17 09:55:28 -04:00
|
|
|
&&TARGET_RERAISE,
|
2021-10-27 06:45:35 -03:00
|
|
|
&&TARGET_COPY,
|
2023-02-07 18:32:21 -04:00
|
|
|
&&TARGET_RETURN_CONST,
|
2021-11-11 02:56:22 -04:00
|
|
|
&&TARGET_BINARY_OP,
|
2021-12-15 06:30:09 -04:00
|
|
|
&&TARGET_SEND,
|
2010-05-09 12:52:27 -03:00
|
|
|
&&TARGET_LOAD_FAST,
|
|
|
|
&&TARGET_STORE_FAST,
|
|
|
|
&&TARGET_DELETE_FAST,
|
2022-05-31 17:32:30 -03:00
|
|
|
&&TARGET_LOAD_FAST_CHECK,
|
2022-09-01 17:36:47 -03:00
|
|
|
&&TARGET_POP_JUMP_IF_NOT_NONE,
|
|
|
|
&&TARGET_POP_JUMP_IF_NONE,
|
2022-01-04 15:38:32 -04:00
|
|
|
&&TARGET_RAISE_VARARGS,
|
2022-03-04 08:41:17 -04:00
|
|
|
&&TARGET_GET_AWAITABLE,
|
2023-07-10 07:40:35 -03:00
|
|
|
&&TARGET_FOR_ITER_GEN,
|
2010-05-09 12:52:27 -03:00
|
|
|
&&TARGET_BUILD_SLICE,
|
2022-04-05 08:49:08 -03:00
|
|
|
&&TARGET_JUMP_BACKWARD_NO_INTERRUPT,
|
2021-06-08 19:01:34 -03:00
|
|
|
&&TARGET_MAKE_CELL,
|
2023-07-10 07:40:35 -03:00
|
|
|
&&TARGET_CALL_BOUND_METHOD_EXACT_ARGS,
|
2010-05-09 12:52:27 -03:00
|
|
|
&&TARGET_LOAD_DEREF,
|
|
|
|
&&TARGET_STORE_DEREF,
|
2010-09-10 18:39:53 -03:00
|
|
|
&&TARGET_DELETE_DEREF,
|
2022-03-31 10:14:15 -03:00
|
|
|
&&TARGET_JUMP_BACKWARD,
|
2023-04-24 19:22:14 -03:00
|
|
|
&&TARGET_LOAD_SUPER_ATTR,
|
2023-03-23 19:25:09 -03:00
|
|
|
&&TARGET_CALL_FUNCTION_EX,
|
2023-05-09 14:02:14 -03:00
|
|
|
&&TARGET_LOAD_FAST_AND_CLEAR,
|
2010-05-09 12:52:27 -03:00
|
|
|
&&TARGET_EXTENDED_ARG,
|
|
|
|
&&TARGET_LIST_APPEND,
|
|
|
|
&&TARGET_SET_ADD,
|
|
|
|
&&TARGET_MAP_ADD,
|
2023-07-10 07:40:35 -03:00
|
|
|
&&TARGET_CALL_PY_EXACT_ARGS,
|
2021-11-23 05:53:24 -04:00
|
|
|
&&TARGET_COPY_FREE_VARS,
|
2022-05-19 13:49:29 -03:00
|
|
|
&&TARGET_YIELD_VALUE,
|
2022-01-06 09:09:25 -04:00
|
|
|
&&TARGET_RESUME,
|
2021-02-26 18:51:55 -04:00
|
|
|
&&TARGET_MATCH_CLASS,
|
2023-07-10 07:40:35 -03:00
|
|
|
&&TARGET_CALL_PY_WITH_DEFAULTS,
|
|
|
|
&&TARGET_CALL_NO_KW_TYPE_1,
|
2023-06-29 17:49:54 -03:00
|
|
|
&&TARGET_CALL_NO_KW_STR_1,
|
2016-06-11 18:39:41 -03:00
|
|
|
&&TARGET_BUILD_CONST_KEY_MAP,
|
2016-09-06 16:07:53 -03:00
|
|
|
&&TARGET_BUILD_STRING,
|
2023-06-14 12:15:08 -03:00
|
|
|
&&TARGET_CONVERT_VALUE,
|
2023-07-10 07:40:35 -03:00
|
|
|
&&TARGET_CALL_NO_KW_TUPLE_1,
|
|
|
|
&&TARGET_CALL_BUILTIN_CLASS,
|
2023-06-29 17:49:54 -03:00
|
|
|
&&TARGET_CALL_NO_KW_BUILTIN_O,
|
2022-11-09 14:50:09 -04:00
|
|
|
&&TARGET_LIST_EXTEND,
|
|
|
|
&&TARGET_SET_UPDATE,
|
|
|
|
&&TARGET_DICT_MERGE,
|
|
|
|
&&TARGET_DICT_UPDATE,
|
2023-07-10 07:40:35 -03:00
|
|
|
&&TARGET_CALL_NO_KW_BUILTIN_FAST,
|
|
|
|
&&TARGET_CALL_BUILTIN_FAST_WITH_KEYWORDS,
|
2023-06-05 07:07:04 -03:00
|
|
|
&&TARGET_LOAD_FAST_LOAD_FAST,
|
|
|
|
&&TARGET_STORE_FAST_LOAD_FAST,
|
|
|
|
&&TARGET_STORE_FAST_STORE_FAST,
|
2022-11-09 14:50:09 -04:00
|
|
|
&&TARGET_CALL,
|
|
|
|
&&TARGET_KW_NAMES,
|
2023-01-05 12:05:51 -04:00
|
|
|
&&TARGET_CALL_INTRINSIC_1,
|
2023-02-14 07:54:13 -04:00
|
|
|
&&TARGET_CALL_INTRINSIC_2,
|
2023-05-16 00:36:23 -03:00
|
|
|
&&TARGET_LOAD_FROM_DICT_OR_GLOBALS,
|
|
|
|
&&TARGET_LOAD_FROM_DICT_OR_DEREF,
|
2023-06-13 05:51:05 -03:00
|
|
|
&&TARGET_SET_FUNCTION_ATTRIBUTE,
|
2023-07-10 07:40:35 -03:00
|
|
|
&&TARGET_CALL_NO_KW_LEN,
|
|
|
|
&&TARGET_CALL_NO_KW_ISINSTANCE,
|
2023-06-29 17:49:54 -03:00
|
|
|
&&TARGET_CALL_NO_KW_LIST_APPEND,
|
|
|
|
&&TARGET_CALL_NO_KW_METHOD_DESCRIPTOR_O,
|
|
|
|
&&TARGET_CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS,
|
|
|
|
&&TARGET_CALL_NO_KW_METHOD_DESCRIPTOR_NOARGS,
|
|
|
|
&&TARGET_CALL_NO_KW_METHOD_DESCRIPTOR_FAST,
|
|
|
|
&&TARGET_CALL_NO_KW_ALLOC_AND_ENTER_INIT,
|
2022-03-03 19:31:00 -04: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,
|
|
|
|
&&_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,
|
|
|
|
&&_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,
|
2023-06-02 07:46:18 -03:00
|
|
|
&&TARGET_ENTER_EXECUTOR,
|
2010-05-09 12:52:27 -03:00
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
2023-05-16 13:29:00 -03:00
|
|
|
&&TARGET_INSTRUMENTED_LOAD_SUPER_ATTR,
|
2023-04-12 08:04:55 -03:00
|
|
|
&&TARGET_INSTRUMENTED_POP_JUMP_IF_NONE,
|
|
|
|
&&TARGET_INSTRUMENTED_POP_JUMP_IF_NOT_NONE,
|
|
|
|
&&TARGET_INSTRUMENTED_RESUME,
|
|
|
|
&&TARGET_INSTRUMENTED_CALL,
|
|
|
|
&&TARGET_INSTRUMENTED_RETURN_VALUE,
|
|
|
|
&&TARGET_INSTRUMENTED_YIELD_VALUE,
|
|
|
|
&&TARGET_INSTRUMENTED_CALL_FUNCTION_EX,
|
|
|
|
&&TARGET_INSTRUMENTED_JUMP_FORWARD,
|
|
|
|
&&TARGET_INSTRUMENTED_JUMP_BACKWARD,
|
|
|
|
&&TARGET_INSTRUMENTED_RETURN_CONST,
|
|
|
|
&&TARGET_INSTRUMENTED_FOR_ITER,
|
|
|
|
&&TARGET_INSTRUMENTED_POP_JUMP_IF_FALSE,
|
|
|
|
&&TARGET_INSTRUMENTED_POP_JUMP_IF_TRUE,
|
|
|
|
&&TARGET_INSTRUMENTED_END_FOR,
|
|
|
|
&&TARGET_INSTRUMENTED_END_SEND,
|
|
|
|
&&TARGET_INSTRUMENTED_INSTRUCTION,
|
|
|
|
&&TARGET_INSTRUMENTED_LINE,
|
|
|
|
&&_unknown_opcode
|
2009-01-25 12:34:23 -04:00
|
|
|
};
|