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,
|
2022-11-10 08:34:57 -04:00
|
|
|
&&TARGET_BINARY_OP_ADD_FLOAT,
|
2022-03-21 08:11:17 -03:00
|
|
|
&&TARGET_BINARY_OP_ADD_INT,
|
2021-11-11 02:56:22 -04:00
|
|
|
&&TARGET_BINARY_OP_ADD_UNICODE,
|
2022-01-26 16:47:45 -04:00
|
|
|
&&TARGET_NOP,
|
2023-04-12 08:04:55 -03:00
|
|
|
&&TARGET_BINARY_OP_INPLACE_ADD_UNICODE,
|
2022-01-26 16:47:45 -04:00
|
|
|
&&TARGET_UNARY_NEGATIVE,
|
|
|
|
&&TARGET_UNARY_NOT,
|
2023-04-12 08:04:55 -03:00
|
|
|
&&TARGET_BINARY_OP_MULTIPLY_FLOAT,
|
2022-11-10 08:34:57 -04:00
|
|
|
&&TARGET_BINARY_OP_MULTIPLY_INT,
|
2023-01-06 10:47:57 -04:00
|
|
|
&&TARGET_UNARY_INVERT,
|
2023-04-12 08:04:55 -03:00
|
|
|
&&TARGET_BINARY_OP_SUBTRACT_FLOAT,
|
|
|
|
&&TARGET_RESERVED,
|
2022-03-21 08:11:17 -03:00
|
|
|
&&TARGET_BINARY_OP_SUBTRACT_INT,
|
|
|
|
&&TARGET_BINARY_SUBSCR_DICT,
|
2021-11-18 07:02:14 -04:00
|
|
|
&&TARGET_BINARY_SUBSCR_GETITEM,
|
2021-10-14 11:56:33 -03:00
|
|
|
&&TARGET_BINARY_SUBSCR_LIST_INT,
|
2022-02-25 08:11:34 -04:00
|
|
|
&&TARGET_BINARY_SUBSCR_TUPLE_INT,
|
2022-03-21 08:11:17 -03:00
|
|
|
&&TARGET_CALL_PY_EXACT_ARGS,
|
2022-11-09 14:50:09 -04:00
|
|
|
&&TARGET_CALL_PY_WITH_DEFAULTS,
|
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-04-12 08:04:55 -03:00
|
|
|
&&TARGET_CALL_BOUND_METHOD_EXACT_ARGS,
|
|
|
|
&&TARGET_CALL_BUILTIN_CLASS,
|
2022-01-26 16:47:45 -04:00
|
|
|
&&TARGET_GET_LEN,
|
|
|
|
&&TARGET_MATCH_MAPPING,
|
|
|
|
&&TARGET_MATCH_SEQUENCE,
|
|
|
|
&&TARGET_MATCH_KEYS,
|
2023-04-12 08:04:55 -03:00
|
|
|
&&TARGET_CALL_BUILTIN_FAST_WITH_KEYWORDS,
|
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-04-12 08:04:55 -03:00
|
|
|
&&TARGET_CALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS,
|
|
|
|
&&TARGET_CALL_NO_KW_BUILTIN_FAST,
|
2022-05-19 07:05:26 -03:00
|
|
|
&&TARGET_CALL_NO_KW_BUILTIN_O,
|
|
|
|
&&TARGET_CALL_NO_KW_ISINSTANCE,
|
|
|
|
&&TARGET_CALL_NO_KW_LEN,
|
|
|
|
&&TARGET_CALL_NO_KW_LIST_APPEND,
|
|
|
|
&&TARGET_CALL_NO_KW_METHOD_DESCRIPTOR_FAST,
|
|
|
|
&&TARGET_CALL_NO_KW_METHOD_DESCRIPTOR_NOARGS,
|
|
|
|
&&TARGET_CALL_NO_KW_METHOD_DESCRIPTOR_O,
|
|
|
|
&&TARGET_CALL_NO_KW_STR_1,
|
2022-11-09 14:50:09 -04:00
|
|
|
&&TARGET_CALL_NO_KW_TUPLE_1,
|
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-04-12 08:04:55 -03:00
|
|
|
&&TARGET_CALL_NO_KW_TYPE_1,
|
|
|
|
&&TARGET_COMPARE_OP_FLOAT,
|
2023-03-23 19:25:09 -03:00
|
|
|
&&TARGET_COMPARE_OP_INT,
|
|
|
|
&&TARGET_COMPARE_OP_STR,
|
2022-11-17 15:36:57 -04:00
|
|
|
&&TARGET_STORE_SUBSCR,
|
|
|
|
&&TARGET_DELETE_SUBSCR,
|
2023-04-12 08:04:55 -03:00
|
|
|
&&TARGET_FOR_ITER_LIST,
|
|
|
|
&&TARGET_FOR_ITER_TUPLE,
|
2022-12-09 06:27:01 -04:00
|
|
|
&&TARGET_FOR_ITER_RANGE,
|
2022-11-07 10:49:51 -04:00
|
|
|
&&TARGET_FOR_ITER_GEN,
|
2023-04-25 14:45:51 -03:00
|
|
|
&&TARGET_LOAD_SUPER_ATTR_METHOD,
|
2022-11-03 08:38:51 -03:00
|
|
|
&&TARGET_LOAD_ATTR_CLASS,
|
2022-11-09 14:50:09 -04:00
|
|
|
&&TARGET_GET_ITER,
|
|
|
|
&&TARGET_GET_YIELD_FROM_ITER,
|
2023-04-25 14:45:51 -03:00
|
|
|
&&TARGET_LOAD_ATTR_GETATTRIBUTE_OVERRIDDEN,
|
2023-01-06 10:47:57 -04:00
|
|
|
&&TARGET_LOAD_BUILD_CLASS,
|
2023-04-25 14:45:51 -03:00
|
|
|
&&TARGET_LOAD_ATTR_INSTANCE_VALUE,
|
2023-04-12 08:04:55 -03:00
|
|
|
&&TARGET_LOAD_ATTR_MODULE,
|
2023-01-05 12:05:51 -04:00
|
|
|
&&TARGET_LOAD_ASSERTION_ERROR,
|
|
|
|
&&TARGET_RETURN_GENERATOR,
|
2023-04-25 14:45:51 -03:00
|
|
|
&&TARGET_LOAD_ATTR_PROPERTY,
|
2023-04-12 08:04:55 -03:00
|
|
|
&&TARGET_LOAD_ATTR_SLOT,
|
|
|
|
&&TARGET_LOAD_ATTR_WITH_HINT,
|
2022-11-09 14:50:09 -04:00
|
|
|
&&TARGET_LOAD_ATTR_METHOD_LAZY_DICT,
|
|
|
|
&&TARGET_LOAD_ATTR_METHOD_NO_DICT,
|
2023-01-05 08:20:09 -04:00
|
|
|
&&TARGET_LOAD_ATTR_METHOD_WITH_VALUES,
|
2023-01-05 12:05:51 -04:00
|
|
|
&&TARGET_LOAD_CONST__LOAD_FAST,
|
2023-04-12 08:04:55 -03:00
|
|
|
&&TARGET_RETURN_VALUE,
|
2023-04-25 14:45:51 -03:00
|
|
|
&&TARGET_LOAD_FAST__LOAD_CONST,
|
2023-04-12 08:04:55 -03:00
|
|
|
&&TARGET_SETUP_ANNOTATIONS,
|
2023-04-25 14:45:51 -03:00
|
|
|
&&TARGET_LOAD_FAST__LOAD_FAST,
|
2023-01-05 12:05:51 -04:00
|
|
|
&&TARGET_LOAD_GLOBAL_BUILTIN,
|
2023-01-06 10:47:57 -04:00
|
|
|
&&TARGET_LOAD_GLOBAL_MODULE,
|
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-04-25 14:45:51 -03:00
|
|
|
&&TARGET_STORE_ATTR_INSTANCE_VALUE,
|
2023-04-12 08:04:55 -03:00
|
|
|
&&TARGET_STORE_ATTR_SLOT,
|
|
|
|
&&TARGET_STORE_ATTR_WITH_HINT,
|
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,
|
2010-05-09 12:52:27 -03:00
|
|
|
&&TARGET_MAKE_FUNCTION,
|
|
|
|
&&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,
|
2010-05-09 12:52:27 -03:00
|
|
|
&&TARGET_LOAD_CLOSURE,
|
|
|
|
&&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-04-25 14:45:51 -03:00
|
|
|
&&TARGET_STORE_FAST__LOAD_FAST,
|
2010-05-09 12:52:27 -03:00
|
|
|
&&TARGET_EXTENDED_ARG,
|
|
|
|
&&TARGET_LIST_APPEND,
|
|
|
|
&&TARGET_SET_ADD,
|
|
|
|
&&TARGET_MAP_ADD,
|
2013-04-30 10:41:40 -03:00
|
|
|
&&TARGET_LOAD_CLASSDEREF,
|
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-04-25 14:45:51 -03:00
|
|
|
&&TARGET_STORE_FAST__STORE_FAST,
|
2023-04-24 19:22:14 -03:00
|
|
|
&&TARGET_STORE_SUBSCR_DICT,
|
2015-11-03 13:45:05 -04:00
|
|
|
&&TARGET_FORMAT_VALUE,
|
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-04-25 14:45:51 -03:00
|
|
|
&&TARGET_STORE_SUBSCR_LIST_INT,
|
2023-04-24 19:22:14 -03:00
|
|
|
&&TARGET_UNPACK_SEQUENCE_LIST,
|
2023-04-12 08:04:55 -03:00
|
|
|
&&TARGET_UNPACK_SEQUENCE_TUPLE,
|
|
|
|
&&TARGET_UNPACK_SEQUENCE_TWO_TUPLE,
|
2022-11-09 14:50:09 -04:00
|
|
|
&&TARGET_LIST_EXTEND,
|
|
|
|
&&TARGET_SET_UPDATE,
|
|
|
|
&&TARGET_DICT_MERGE,
|
|
|
|
&&TARGET_DICT_UPDATE,
|
2023-04-25 14:45:51 -03:00
|
|
|
&&TARGET_SEND_GEN,
|
2023-01-05 08:20:09 -04:00
|
|
|
&&_unknown_opcode,
|
2023-01-05 12:05:51 -04:00
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
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,
|
2022-11-09 14:50:09 -04:00
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
2022-06-14 07:36:22 -03:00
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
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,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
|
|
|
&&_unknown_opcode,
|
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
|
|
|
};
|