Top Description Fields Constructors Methods
org.python.core

pack-priv Class Opcode311

extends Object
Class Inheritance

Constants for opcodes taken from CPython opcode.h

Field Summary

Modifier and TypeField and Description
pack-priv static final int
ASYNC_GEN_WRAP

CPython opcode ASYNC_GEN_WRAP

pack-priv static final int
BEFORE_ASYNC_WITH

CPython opcode BEFORE_ASYNC_WITH

pack-priv static final int
BEFORE_WITH

CPython opcode BEFORE_WITH

pack-priv static final int
BINARY_OP

CPython opcode BINARY_OP

pack-priv static final int
BINARY_OP_ADAPTIVE

CPython opcode BINARY_OP_ADAPTIVE

pack-priv static final int
BINARY_OP_ADD_FLOAT

CPython opcode BINARY_OP_ADD_FLOAT

pack-priv static final int
BINARY_OP_ADD_INT

CPython opcode BINARY_OP_ADD_INT

pack-priv static final int
BINARY_OP_ADD_UNICODE

CPython opcode BINARY_OP_ADD_UNICODE

pack-priv static final int
BINARY_OP_INPLACE_ADD_UNICODE

CPython opcode BINARY_OP_INPLACE_ADD_UNICODE

pack-priv static final int
BINARY_OP_MULTIPLY_FLOAT

CPython opcode BINARY_OP_MULTIPLY_FLOAT

pack-priv static final int
BINARY_OP_MULTIPLY_INT

CPython opcode BINARY_OP_MULTIPLY_INT

pack-priv static final int
BINARY_OP_SUBTRACT_FLOAT

CPython opcode BINARY_OP_SUBTRACT_FLOAT

pack-priv static final int
BINARY_OP_SUBTRACT_INT

CPython opcode BINARY_OP_SUBTRACT_INT

pack-priv static final int
BINARY_SUBSCR

CPython opcode BINARY_SUBSCR

pack-priv static final int
BINARY_SUBSCR_ADAPTIVE

CPython opcode BINARY_SUBSCR_ADAPTIVE

pack-priv static final int
BINARY_SUBSCR_DICT

CPython opcode BINARY_SUBSCR_DICT

pack-priv static final int
BINARY_SUBSCR_GETITEM

CPython opcode BINARY_SUBSCR_GETITEM

pack-priv static final int
BINARY_SUBSCR_LIST_INT

CPython opcode BINARY_SUBSCR_LIST_INT

pack-priv static final int
BINARY_SUBSCR_TUPLE_INT

CPython opcode BINARY_SUBSCR_TUPLE_INT

pack-priv static final int
BUILD_CONST_KEY_MAP

CPython opcode BUILD_CONST_KEY_MAP

pack-priv static final int
BUILD_LIST

CPython opcode BUILD_LIST

pack-priv static final int
BUILD_MAP

CPython opcode BUILD_MAP

pack-priv static final int
BUILD_SET

CPython opcode BUILD_SET

pack-priv static final int
BUILD_SLICE

CPython opcode BUILD_SLICE

pack-priv static final int
BUILD_STRING

CPython opcode BUILD_STRING

pack-priv static final int
BUILD_TUPLE

CPython opcode BUILD_TUPLE

pack-priv static final int
CACHE

In CPython 3.11 the in-line cache that follows certain instructions is zero in the byte code initially.

pack-priv static final int
CALL

CPython opcode CALL

pack-priv static final int
CALL_ADAPTIVE

CPython opcode CALL_ADAPTIVE

pack-priv static final int
CALL_FUNCTION_EX

CPython opcode CALL_FUNCTION_EX

pack-priv static final int
CALL_PY_EXACT_ARGS

CPython opcode CALL_PY_EXACT_ARGS

pack-priv static final int
CALL_PY_WITH_DEFAULTS

CPython opcode CALL_PY_WITH_DEFAULTS

pack-priv static final int
CHECK_EG_MATCH

CPython opcode CHECK_EG_MATCH

pack-priv static final int
CHECK_EXC_MATCH

CPython opcode CHECK_EXC_MATCH

pack-priv static final int
COMPARE_OP

CPython opcode COMPARE_OP

pack-priv static final int
COMPARE_OP_ADAPTIVE

CPython opcode COMPARE_OP_ADAPTIVE

pack-priv static final int
COMPARE_OP_FLOAT_JUMP

CPython opcode COMPARE_OP_FLOAT_JUMP

pack-priv static final int
COMPARE_OP_INT_JUMP

CPython opcode COMPARE_OP_INT_JUMP

pack-priv static final int
COMPARE_OP_STR_JUMP

CPython opcode COMPARE_OP_STR_JUMP

pack-priv static final int
CONTAINS_OP

CPython opcode CONTAINS_OP

pack-priv static final int
COPY

CPython opcode COPY

pack-priv static final int
COPY_FREE_VARS

CPython opcode COPY_FREE_VARS

pack-priv static final int
DELETE_ATTR

CPython opcode DELETE_ATTR

pack-priv static final int
DELETE_DEREF

CPython opcode DELETE_DEREF

pack-priv static final int
DELETE_FAST

CPython opcode DELETE_FAST

pack-priv static final int
DELETE_GLOBAL

CPython opcode DELETE_GLOBAL

pack-priv static final int
DELETE_NAME

CPython opcode DELETE_NAME

pack-priv static final int
DELETE_SUBSCR

CPython opcode DELETE_SUBSCR

pack-priv static final int
DICT_MERGE

CPython opcode DICT_MERGE

pack-priv static final int
DICT_UPDATE

CPython opcode DICT_UPDATE

pack-priv static final int
DO_TRACING

Synthetic CPython opcode used to control instruction tracing.

pack-priv static final int
END_ASYNC_FOR

CPython opcode END_ASYNC_FOR

pack-priv static final int
EXCEPT_HANDLER

EXCEPT_HANDLER is a special, implicit block type that is created when entering an except handler.

pack-priv static final int
EXTENDED_ARG

CPython opcode EXTENDED_ARG

pack-priv static final int
EXTENDED_ARG_QUICK

CPython opcode EXTENDED_ARG_QUICK

pack-priv static final int
FOR_ITER

CPython opcode FOR_ITER

pack-priv static final int
FORMAT_VALUE

CPython opcode FORMAT_VALUE

pack-priv static final int
GET_AITER

CPython opcode GET_AITER

pack-priv static final int
GET_ANEXT

CPython opcode GET_ANEXT

pack-priv static final int
GET_AWAITABLE

CPython opcode GET_AWAITABLE

pack-priv static final int
GET_ITER

CPython opcode GET_ITER

pack-priv static final int
GET_LEN

CPython opcode GET_LEN

pack-priv static final int
GET_YIELD_FROM_ITER

CPython opcode GET_YIELD_FROM_ITER

pack-priv static final int
HAVE_ARGUMENT

Opcodes with this value or greater are followed by a one-byte argument, and those less than or equal to it, by a zero byte that is ignored.

pack-priv static final int
IMPORT_FROM

CPython opcode IMPORT_FROM

pack-priv static final int
IMPORT_NAME

CPython opcode IMPORT_NAME

pack-priv static final int
IMPORT_STAR

CPython opcode IMPORT_STAR

pack-priv static final int
INLINE_CACHE_ENTRIES_BINARY_OP

Cache following BINARY_OP opcode (words).

pack-priv static final int
INLINE_CACHE_ENTRIES_BINARY_SUBSCR

Cache following BINARY_SUBSCR opcode (words).

pack-priv static final int
INLINE_CACHE_ENTRIES_CALL

Cache following CALL opcode (words).

pack-priv static final int
INLINE_CACHE_ENTRIES_COMPARE_OP

Cache following COMPARE_OP opcode (words).

pack-priv static final int
INLINE_CACHE_ENTRIES_LOAD_ATTR

Cache following LOAD_ATTR opcode (words).

pack-priv static final int
INLINE_CACHE_ENTRIES_LOAD_GLOBAL

Cache following LOAD_GLOBAL opcode (words).

pack-priv static final int
INLINE_CACHE_ENTRIES_LOAD_METHOD

Cache following LOAD_METHOD opcode (words).

pack-priv static final int
INLINE_CACHE_ENTRIES_PRECALL

Cache following PRECALL opcode (words).

pack-priv static final int
INLINE_CACHE_ENTRIES_STORE_ATTR

Cache following STORE_ATTR opcode (words).

pack-priv static final int
INLINE_CACHE_ENTRIES_STORE_SUBSCR

Cache following STORE_SUBSCR opcode (words).

pack-priv static final int
INLINE_CACHE_ENTRIES_UNPACK_SEQUENCE

Cache following UNPACK_SEQUENCE opcode (words).

pack-priv static final int
IS_OP

CPython opcode IS_OP

pack-priv static final int
JUMP_BACKWARD

CPython opcode JUMP_BACKWARD

pack-priv static final int
JUMP_BACKWARD_NO_INTERRUPT

CPython opcode JUMP_BACKWARD_NO_INTERRUPT

pack-priv static final int
JUMP_BACKWARD_QUICK

CPython opcode JUMP_BACKWARD_QUICK

pack-priv static final int
JUMP_FORWARD

CPython opcode JUMP_FORWARD

pack-priv static final int
JUMP_IF_FALSE_OR_POP

CPython opcode JUMP_IF_FALSE_OR_POP

pack-priv static final int
JUMP_IF_TRUE_OR_POP

CPython opcode JUMP_IF_TRUE_OR_POP

pack-priv static final int
KW_NAMES

CPython opcode KW_NAMES

pack-priv static final int
LIST_APPEND

CPython opcode LIST_APPEND

pack-priv static final int
LIST_EXTEND

CPython opcode LIST_EXTEND

pack-priv static final int
LIST_TO_TUPLE

CPython opcode LIST_TO_TUPLE

pack-priv static final int
LOAD_ASSERTION_ERROR

CPython opcode LOAD_ASSERTION_ERROR

pack-priv static final int
LOAD_ATTR

CPython opcode LOAD_ATTR

pack-priv static final int
LOAD_ATTR_ADAPTIVE

CPython opcode LOAD_ATTR_ADAPTIVE

pack-priv static final int
LOAD_ATTR_INSTANCE_VALUE

CPython opcode LOAD_ATTR_INSTANCE_VALUE

pack-priv static final int
LOAD_ATTR_MODULE

CPython opcode LOAD_ATTR_MODULE

pack-priv static final int
LOAD_ATTR_SLOT

CPython opcode LOAD_ATTR_SLOT

pack-priv static final int
LOAD_ATTR_WITH_HINT

CPython opcode LOAD_ATTR_WITH_HINT

pack-priv static final int
LOAD_BUILD_CLASS

CPython opcode LOAD_BUILD_CLASS

pack-priv static final int
LOAD_CLASSDEREF

CPython opcode LOAD_CLASSDEREF

pack-priv static final int
LOAD_CLOSURE

CPython opcode LOAD_CLOSURE

pack-priv static final int
LOAD_CONST

CPython opcode LOAD_CONST

pack-priv static final int
LOAD_CONST__LOAD_FAST

CPython opcode LOAD_CONST__LOAD_FAST

pack-priv static final int
LOAD_DEREF

CPython opcode LOAD_DEREF

pack-priv static final int
LOAD_FAST

CPython opcode LOAD_FAST

pack-priv static final int
LOAD_FAST__LOAD_CONST

CPython opcode LOAD_FAST__LOAD_CONST

pack-priv static final int
LOAD_FAST__LOAD_FAST

CPython opcode LOAD_FAST__LOAD_FAST

pack-priv static final int
LOAD_GLOBAL

CPython opcode LOAD_GLOBAL

pack-priv static final int
LOAD_GLOBAL_ADAPTIVE

CPython opcode LOAD_GLOBAL_ADAPTIVE

pack-priv static final int
LOAD_GLOBAL_BUILTIN

CPython opcode LOAD_GLOBAL_BUILTIN

pack-priv static final int
LOAD_GLOBAL_MODULE

CPython opcode LOAD_GLOBAL_MODULE

pack-priv static final int
LOAD_METHOD

CPython opcode LOAD_METHOD

pack-priv static final int
LOAD_METHOD_ADAPTIVE

CPython opcode LOAD_METHOD_ADAPTIVE

pack-priv static final int
LOAD_METHOD_CLASS

CPython opcode LOAD_METHOD_CLASS

pack-priv static final int
LOAD_METHOD_MODULE

CPython opcode LOAD_METHOD_MODULE

pack-priv static final int
LOAD_METHOD_NO_DICT

CPython opcode LOAD_METHOD_NO_DICT

pack-priv static final int
LOAD_METHOD_WITH_DICT

CPython opcode LOAD_METHOD_WITH_DICT

pack-priv static final int
LOAD_METHOD_WITH_VALUES

CPython opcode LOAD_METHOD_WITH_VALUES

pack-priv static final int
LOAD_NAME

CPython opcode LOAD_NAME

pack-priv static final int
MAKE_CELL

CPython opcode MAKE_CELL

pack-priv static final int
MAKE_FUNCTION

CPython opcode MAKE_FUNCTION

pack-priv static final int
MAP_ADD

CPython opcode MAP_ADD

pack-priv static final int
MATCH_CLASS

CPython opcode MATCH_CLASS

pack-priv static final int
MATCH_KEYS

CPython opcode MATCH_KEYS

pack-priv static final int
MATCH_MAPPING

CPython opcode MATCH_MAPPING

pack-priv static final int
MATCH_SEQUENCE

CPython opcode MATCH_SEQUENCE

pack-priv static final int
NB_ADD

Encoding of ADD used in BINARY_OP opcode.

pack-priv static final int
NB_AND

Encoding of AND used in BINARY_OP opcode.

pack-priv static final int
NB_FLOOR_DIVIDE

Encoding of FLOOR_DIVIDE used in BINARY_OP opcode.

pack-priv static final int
NB_INPLACE_ADD

Encoding of INPLACE_ADD used in BINARY_OP opcode.

pack-priv static final int
NB_INPLACE_AND

Encoding of INPLACE_AND used in BINARY_OP opcode.

pack-priv static final int
NB_INPLACE_FLOOR_DIVIDE

Encoding of INPLACE_FLOOR_DIVIDE used in BINARY_OP opcode.

pack-priv static final int
NB_INPLACE_LSHIFT

Encoding of INPLACE_LSHIFT used in BINARY_OP opcode.

pack-priv static final int
NB_INPLACE_MATRIX_MULTIPLY

Encoding of INPLACE_MATRIX_MULTIPLY used in BINARY_OP opcode.

pack-priv static final int
NB_INPLACE_MULTIPLY

Encoding of INPLACE_MULTIPLY used in BINARY_OP opcode.

pack-priv static final int
NB_INPLACE_OR

Encoding of INPLACE_OR used in BINARY_OP opcode.

pack-priv static final int
NB_INPLACE_POWER

Encoding of INPLACE_POWER used in BINARY_OP opcode.

pack-priv static final int
NB_INPLACE_REMAINDER

Encoding of INPLACE_REMAINDER used in BINARY_OP opcode.

pack-priv static final int
NB_INPLACE_RSHIFT

Encoding of INPLACE_RSHIFT used in BINARY_OP opcode.

pack-priv static final int
NB_INPLACE_SUBTRACT

Encoding of INPLACE_SUBTRACT used in BINARY_OP opcode.

pack-priv static final int
NB_INPLACE_TRUE_DIVIDE

Encoding of INPLACE_TRUE_DIVIDE used in BINARY_OP opcode.

pack-priv static final int
NB_INPLACE_XOR

Encoding of INPLACE_XOR used in BINARY_OP opcode.

pack-priv static final int
NB_LSHIFT

Encoding of LSHIFT used in BINARY_OP opcode.

pack-priv static final int
NB_MATRIX_MULTIPLY

Encoding of MATRIX_MULTIPLY used in BINARY_OP opcode.

pack-priv static final int
NB_MULTIPLY

Encoding of MULTIPLY used in BINARY_OP opcode.

pack-priv static final int
NB_OR

Encoding of OR used in BINARY_OP opcode.

pack-priv static final int
NB_POWER

Encoding of POWER used in BINARY_OP opcode.

pack-priv static final int
NB_REMAINDER

Encoding of REMAINDER used in BINARY_OP opcode.

pack-priv static final int
NB_RSHIFT

Encoding of RSHIFT used in BINARY_OP opcode.

pack-priv static final int
NB_SUBTRACT

Encoding of SUBTRACT used in BINARY_OP opcode.

pack-priv static final int
NB_TRUE_DIVIDE

Encoding of TRUE_DIVIDE used in BINARY_OP opcode.

pack-priv static final int
NB_XOR

Encoding of XOR used in BINARY_OP opcode.

pack-priv static final int
NOP

CPython opcode NOP

pack-priv static final int
POP_EXCEPT

CPython opcode POP_EXCEPT

pack-priv static final int
POP_JUMP_BACKWARD_IF_FALSE

CPython opcode POP_JUMP_BACKWARD_IF_FALSE

pack-priv static final int
POP_JUMP_BACKWARD_IF_NONE

CPython opcode POP_JUMP_BACKWARD_IF_NONE

pack-priv static final int
POP_JUMP_BACKWARD_IF_NOT_NONE

CPython opcode POP_JUMP_BACKWARD_IF_NOT_NONE

pack-priv static final int
POP_JUMP_BACKWARD_IF_TRUE

CPython opcode POP_JUMP_BACKWARD_IF_TRUE

pack-priv static final int
POP_JUMP_FORWARD_IF_FALSE

CPython opcode POP_JUMP_FORWARD_IF_FALSE

pack-priv static final int
POP_JUMP_FORWARD_IF_NONE

CPython opcode POP_JUMP_FORWARD_IF_NONE

pack-priv static final int
POP_JUMP_FORWARD_IF_NOT_NONE

CPython opcode POP_JUMP_FORWARD_IF_NOT_NONE

pack-priv static final int
POP_JUMP_FORWARD_IF_TRUE

CPython opcode POP_JUMP_FORWARD_IF_TRUE

pack-priv static final int
POP_TOP

CPython opcode POP_TOP

pack-priv static final int
PRECALL

CPython opcode PRECALL

pack-priv static final int
PRECALL_ADAPTIVE

CPython opcode PRECALL_ADAPTIVE

pack-priv static final int
PRECALL_BOUND_METHOD

CPython opcode PRECALL_BOUND_METHOD

pack-priv static final int
PRECALL_BUILTIN_CLASS

CPython opcode PRECALL_BUILTIN_CLASS

pack-priv static final int
PRECALL_BUILTIN_FAST_WITH_KEYWORDS

CPython opcode PRECALL_BUILTIN_FAST_WITH_KEYWORDS

pack-priv static final int
PRECALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS

CPython opcode PRECALL_METHOD_DESCRIPTOR_FAST_WITH_KEYWORDS

pack-priv static final int
PRECALL_NO_KW_BUILTIN_FAST

CPython opcode PRECALL_NO_KW_BUILTIN_FAST

pack-priv static final int
PRECALL_NO_KW_BUILTIN_O

CPython opcode PRECALL_NO_KW_BUILTIN_O

pack-priv static final int
PRECALL_NO_KW_ISINSTANCE

CPython opcode PRECALL_NO_KW_ISINSTANCE

pack-priv static final int
PRECALL_NO_KW_LEN

CPython opcode PRECALL_NO_KW_LEN

pack-priv static final int
PRECALL_NO_KW_LIST_APPEND

CPython opcode PRECALL_NO_KW_LIST_APPEND

pack-priv static final int
PRECALL_NO_KW_METHOD_DESCRIPTOR_FAST

CPython opcode PRECALL_NO_KW_METHOD_DESCRIPTOR_FAST

pack-priv static final int
PRECALL_NO_KW_METHOD_DESCRIPTOR_NOARGS

CPython opcode PRECALL_NO_KW_METHOD_DESCRIPTOR_NOARGS

pack-priv static final int
PRECALL_NO_KW_METHOD_DESCRIPTOR_O

CPython opcode PRECALL_NO_KW_METHOD_DESCRIPTOR_O

pack-priv static final int
PRECALL_NO_KW_STR_1

CPython opcode PRECALL_NO_KW_STR_1

pack-priv static final int
PRECALL_NO_KW_TUPLE_1

CPython opcode PRECALL_NO_KW_TUPLE_1

pack-priv static final int
PRECALL_NO_KW_TYPE_1

CPython opcode PRECALL_NO_KW_TYPE_1

pack-priv static final int
PRECALL_PYFUNC

CPython opcode PRECALL_PYFUNC

pack-priv static final int
PREP_RERAISE_STAR

CPython opcode PREP_RERAISE_STAR

pack-priv static final int
PUSH_EXC_INFO

CPython opcode PUSH_EXC_INFO

pack-priv static final int
PUSH_NULL

CPython opcode PUSH_NULL

pack-priv static final int
RAISE_VARARGS

CPython opcode RAISE_VARARGS

pack-priv static final int
RERAISE

CPython opcode RERAISE

pack-priv static final int
RESUME

CPython opcode RESUME

pack-priv static final int
RESUME_QUICK

CPython opcode RESUME_QUICK

pack-priv static final int
RETURN_GENERATOR

CPython opcode RETURN_GENERATOR

pack-priv static final int
RETURN_VALUE

CPython opcode RETURN_VALUE

pack-priv static final int
SEND

CPython opcode SEND

pack-priv static final int
SET_ADD

CPython opcode SET_ADD

pack-priv static final int
SET_UPDATE

CPython opcode SET_UPDATE

pack-priv static final int
SETUP_ANNOTATIONS

CPython opcode SETUP_ANNOTATIONS

pack-priv static final int
STORE_ATTR

CPython opcode STORE_ATTR

pack-priv static final int
STORE_ATTR_ADAPTIVE

CPython opcode STORE_ATTR_ADAPTIVE

pack-priv static final int
STORE_ATTR_INSTANCE_VALUE

CPython opcode STORE_ATTR_INSTANCE_VALUE

pack-priv static final int
STORE_ATTR_SLOT

CPython opcode STORE_ATTR_SLOT

pack-priv static final int
STORE_ATTR_WITH_HINT

CPython opcode STORE_ATTR_WITH_HINT

pack-priv static final int
STORE_DEREF

CPython opcode STORE_DEREF

pack-priv static final int
STORE_FAST

CPython opcode STORE_FAST

pack-priv static final int
STORE_FAST__LOAD_FAST

CPython opcode STORE_FAST__LOAD_FAST

pack-priv static final int
STORE_FAST__STORE_FAST

CPython opcode STORE_FAST__STORE_FAST

pack-priv static final int
STORE_GLOBAL

CPython opcode STORE_GLOBAL

pack-priv static final int
STORE_NAME

CPython opcode STORE_NAME

pack-priv static final int
STORE_SUBSCR

CPython opcode STORE_SUBSCR

pack-priv static final int
STORE_SUBSCR_ADAPTIVE

CPython opcode STORE_SUBSCR_ADAPTIVE

pack-priv static final int
STORE_SUBSCR_DICT

CPython opcode STORE_SUBSCR_DICT

pack-priv static final int
STORE_SUBSCR_LIST_INT

CPython opcode STORE_SUBSCR_LIST_INT

pack-priv static final int
SWAP

CPython opcode SWAP

pack-priv static final int
UNARY_INVERT

CPython opcode UNARY_INVERT

pack-priv static final int
UNARY_NEGATIVE

CPython opcode UNARY_NEGATIVE

pack-priv static final int
UNARY_NOT

CPython opcode UNARY_NOT

pack-priv static final int
UNARY_POSITIVE

CPython opcode UNARY_POSITIVE

pack-priv static final int
UNPACK_EX

CPython opcode UNPACK_EX

pack-priv static final int
UNPACK_SEQUENCE

CPython opcode UNPACK_SEQUENCE

pack-priv static final int
UNPACK_SEQUENCE_ADAPTIVE

CPython opcode UNPACK_SEQUENCE_ADAPTIVE

pack-priv static final int
UNPACK_SEQUENCE_LIST

CPython opcode UNPACK_SEQUENCE_LIST

pack-priv static final int
UNPACK_SEQUENCE_TUPLE

CPython opcode UNPACK_SEQUENCE_TUPLE

pack-priv static final int
UNPACK_SEQUENCE_TWO_TUPLE

CPython opcode UNPACK_SEQUENCE_TWO_TUPLE

pack-priv static final int
WITH_EXCEPT_START

CPython opcode WITH_EXCEPT_START

pack-priv static final int
YIELD_VALUE

CPython opcode YIELD_VALUE

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait