Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4539)

Delta Between Two Patch Sets: Include/opcode.h

Issue 27095: Simplify MAKE_FUNCTION
Left Patch Set: Created 3 years, 4 months ago
Right Patch Set: Created 3 years, 4 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
LEFTRIGHT
1 /* Auto-generated by Tools/scripts/generate_opcode_h.py */ 1 /* Auto-generated by Tools/scripts/generate_opcode_h.py */
2 #ifndef Py_OPCODE_H 2 #ifndef Py_OPCODE_H
3 #define Py_OPCODE_H 3 #define Py_OPCODE_H
4 #ifdef __cplusplus 4 #ifdef __cplusplus
5 extern "C" { 5 extern "C" {
6 #endif 6 #endif
7 7
8 8
9 /* Instruction opcodes for compiled code */ 9 /* Instruction opcodes for compiled code */
10 #define POP_TOP 1 10 #define POP_TOP 1
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 #define SET_ADD 146 115 #define SET_ADD 146
116 #define MAP_ADD 147 116 #define MAP_ADD 147
117 #define LOAD_CLASSDEREF 148 117 #define LOAD_CLASSDEREF 148
118 #define BUILD_LIST_UNPACK 149 118 #define BUILD_LIST_UNPACK 149
119 #define BUILD_MAP_UNPACK 150 119 #define BUILD_MAP_UNPACK 150
120 #define BUILD_MAP_UNPACK_WITH_CALL 151 120 #define BUILD_MAP_UNPACK_WITH_CALL 151
121 #define BUILD_TUPLE_UNPACK 152 121 #define BUILD_TUPLE_UNPACK 152
122 #define BUILD_SET_UNPACK 153 122 #define BUILD_SET_UNPACK 153
123 #define SETUP_ASYNC_WITH 154 123 #define SETUP_ASYNC_WITH 154
124 #define FORMAT_VALUE 155 124 #define FORMAT_VALUE 155
125 #define BUILD_CONST_KEY_MAP 156
125 126
126 /* EXCEPT_HANDLER is a special, implicit block type which is created when 127 /* EXCEPT_HANDLER is a special, implicit block type which is created when
127 entering an except handler. It is not an opcode but we define it here 128 entering an except handler. It is not an opcode but we define it here
128 as we want it to be available to both frameobject.c and ceval.c, while 129 as we want it to be available to both frameobject.c and ceval.c, while
129 remaining private.*/ 130 remaining private.*/
130 #define EXCEPT_HANDLER 257 131 #define EXCEPT_HANDLER 257
131 132
132 133
133 enum cmp_op {PyCmp_LT=Py_LT, PyCmp_LE=Py_LE, PyCmp_EQ=Py_EQ, PyCmp_NE=Py_NE, 134 enum cmp_op {PyCmp_LT=Py_LT, PyCmp_LE=Py_LE, PyCmp_EQ=Py_EQ, PyCmp_NE=Py_NE,
134 PyCmp_GT=Py_GT, PyCmp_GE=Py_GE, PyCmp_IN, PyCmp_NOT_IN, 135 PyCmp_GT=Py_GT, PyCmp_GE=Py_GE, PyCmp_IN, PyCmp_NOT_IN,
135 PyCmp_IS, PyCmp_IS_NOT, PyCmp_EXC_MATCH, PyCmp_BAD}; 136 PyCmp_IS, PyCmp_IS_NOT, PyCmp_EXC_MATCH, PyCmp_BAD};
136 137
137 #define HAS_ARG(op) ((op) >= HAVE_ARGUMENT) 138 #define HAS_ARG(op) ((op) >= HAVE_ARGUMENT)
138 139
139 #ifdef __cplusplus 140 #ifdef __cplusplus
140 } 141 }
141 #endif 142 #endif
142 #endif /* !Py_OPCODE_H */ 143 #endif /* !Py_OPCODE_H */
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+