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

Side by Side Diff: Include/opcode.h

Issue 27095: Simplify MAKE_FUNCTION
Patch Set: Created 3 years, 3 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:
View unified diff | Download patch
OLDNEW
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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 #define SETUP_LOOP 120 95 #define SETUP_LOOP 120
96 #define SETUP_EXCEPT 121 96 #define SETUP_EXCEPT 121
97 #define SETUP_FINALLY 122 97 #define SETUP_FINALLY 122
98 #define LOAD_FAST 124 98 #define LOAD_FAST 124
99 #define STORE_FAST 125 99 #define STORE_FAST 125
100 #define DELETE_FAST 126 100 #define DELETE_FAST 126
101 #define RAISE_VARARGS 130 101 #define RAISE_VARARGS 130
102 #define CALL_FUNCTION 131 102 #define CALL_FUNCTION 131
103 #define MAKE_FUNCTION 132 103 #define MAKE_FUNCTION 132
104 #define BUILD_SLICE 133 104 #define BUILD_SLICE 133
105 #define MAKE_CLOSURE 134
106 #define LOAD_CLOSURE 135 105 #define LOAD_CLOSURE 135
107 #define LOAD_DEREF 136 106 #define LOAD_DEREF 136
108 #define STORE_DEREF 137 107 #define STORE_DEREF 137
109 #define DELETE_DEREF 138 108 #define DELETE_DEREF 138
110 #define CALL_FUNCTION_VAR 140 109 #define CALL_FUNCTION_VAR 140
111 #define CALL_FUNCTION_KW 141 110 #define CALL_FUNCTION_KW 141
112 #define CALL_FUNCTION_VAR_KW 142 111 #define CALL_FUNCTION_VAR_KW 142
113 #define SETUP_WITH 143 112 #define SETUP_WITH 143
114 #define EXTENDED_ARG 144 113 #define EXTENDED_ARG 144
115 #define LIST_APPEND 145 114 #define LIST_APPEND 145
(...skipping 19 matching lines...) Expand all
135 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,
136 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,
137 PyCmp_IS, PyCmp_IS_NOT, PyCmp_EXC_MATCH, PyCmp_BAD}; 136 PyCmp_IS, PyCmp_IS_NOT, PyCmp_EXC_MATCH, PyCmp_BAD};
138 137
139 #define HAS_ARG(op) ((op) >= HAVE_ARGUMENT) 138 #define HAS_ARG(op) ((op) >= HAVE_ARGUMENT)
140 139
141 #ifdef __cplusplus 140 #ifdef __cplusplus
142 } 141 }
143 #endif 142 #endif
144 #endif /* !Py_OPCODE_H */ 143 #endif /* !Py_OPCODE_H */
OLDNEW

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