python-2.7.11/Include/opcode.h Source File
Go to the documentation of this file.
18 #define UNARY_POSITIVE 10
19 #define UNARY_NEGATIVE 11
21 #define UNARY_CONVERT 13
23 #define UNARY_INVERT 15
25 #define BINARY_POWER 19
27 #define BINARY_MULTIPLY 20
28 #define BINARY_DIVIDE 21
29 #define BINARY_MODULO 22
31 #define BINARY_SUBTRACT 24
32 #define BINARY_SUBSCR 25
33 #define BINARY_FLOOR_DIVIDE 26
34 #define BINARY_TRUE_DIVIDE 27
35 #define INPLACE_FLOOR_DIVIDE 28
36 #define INPLACE_TRUE_DIVIDE 29
44 #define STORE_SLICE 40
46 #define STORE_SLICE_1 41
47 #define STORE_SLICE_2 42
48 #define STORE_SLICE_3 43
50 #define DELETE_SLICE 50
52 #define DELETE_SLICE_1 51
53 #define DELETE_SLICE_2 52
54 #define DELETE_SLICE_3 53
57 #define INPLACE_ADD 55
58 #define INPLACE_SUBTRACT 56
59 #define INPLACE_MULTIPLY 57
60 #define INPLACE_DIVIDE 58
61 #define INPLACE_MODULO 59
62 #define STORE_SUBSCR 60
63 #define DELETE_SUBSCR 61
65 #define BINARY_LSHIFT 62
66 #define BINARY_RSHIFT 63
70 #define INPLACE_POWER 67
75 #define PRINT_NEWLINE 72
76 #define PRINT_ITEM_TO 73
77 #define PRINT_NEWLINE_TO 74
78 #define INPLACE_LSHIFT 75
79 #define INPLACE_RSHIFT 76
80 #define INPLACE_AND 77
81 #define INPLACE_XOR 78
84 #define WITH_CLEANUP 81
85 #define LOAD_LOCALS 82
86 #define RETURN_VALUE 83
87 #define IMPORT_STAR 84
89 #define YIELD_VALUE 86
91 #define END_FINALLY 88
92 #define BUILD_CLASS 89
94 #define HAVE_ARGUMENT 90
97 #define DELETE_NAME 91
98 #define UNPACK_SEQUENCE 92
100 #define LIST_APPEND 94
102 #define STORE_ATTR 95
103 #define DELETE_ATTR 96
104 #define STORE_GLOBAL 97
105 #define DELETE_GLOBAL 98
107 #define LOAD_CONST 100
108 #define LOAD_NAME 101
109 #define BUILD_TUPLE 102
110 #define BUILD_LIST 103
111 #define BUILD_SET 104
112 #define BUILD_MAP 105
113 #define LOAD_ATTR 106
114 #define COMPARE_OP 107
115 #define IMPORT_NAME 108
116 #define IMPORT_FROM 109
117 #define JUMP_FORWARD 110
119 #define JUMP_IF_FALSE_OR_POP 111
121 #define JUMP_IF_TRUE_OR_POP 112
122 #define JUMP_ABSOLUTE 113
123 #define POP_JUMP_IF_FALSE 114
124 #define POP_JUMP_IF_TRUE 115
126 #define LOAD_GLOBAL 116
128 #define CONTINUE_LOOP 119
129 #define SETUP_LOOP 120
130 #define SETUP_EXCEPT 121
131 #define SETUP_FINALLY 122
133 #define LOAD_FAST 124
134 #define STORE_FAST 125
135 #define DELETE_FAST 126
137 #define RAISE_VARARGS 130
139 #define CALL_FUNCTION 131
140 #define MAKE_FUNCTION 132
141 #define BUILD_SLICE 133
143 #define MAKE_CLOSURE 134
144 #define LOAD_CLOSURE 135
145 #define LOAD_DEREF 136
146 #define STORE_DEREF 137
150 #define CALL_FUNCTION_VAR 140
151 #define CALL_FUNCTION_KW 141
152 #define CALL_FUNCTION_VAR_KW 142
154 #define SETUP_WITH 143
157 #define EXTENDED_ARG 145
166 #define HAS_ARG(op) ((op) >= HAVE_ARGUMENT)