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

Side by Side Diff: Include/opcode.h

Issue 10639: reindent.py converts newlines to platform default
Patch Set: Created 8 years, 8 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
« no previous file with comments | « Include/code.h ('k') | Include/patchlevel.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #ifndef Py_OPCODE_H 1 #ifndef Py_OPCODE_H
2 #define Py_OPCODE_H 2 #define Py_OPCODE_H
3 #ifdef __cplusplus 3 #ifdef __cplusplus
4 extern "C" { 4 extern "C" {
5 #endif 5 #endif
6 6
7 7
8 /* Instruction opcodes for compiled code */ 8 /* Instruction opcodes for compiled code */
9 9
10 #define STOP_CODE 0
10 #define POP_TOP 1 11 #define POP_TOP 1
11 #define ROT_TWO 2 12 #define ROT_TWO 2
12 #define ROT_THREE 3 13 #define ROT_THREE 3
13 #define DUP_TOP 4 14 #define DUP_TOP 4
14 #define DUP_TOP_TWO 5 15 #define DUP_TOP_TWO 5
15 #define NOP 9 16 #define NOP 9
16 17
17 #define UNARY_POSITIVE 10 18 #define UNARY_POSITIVE 10
18 #define UNARY_NEGATIVE 11 19 #define UNARY_NEGATIVE 11
19 #define UNARY_NOT 12 20 #define UNARY_NOT 12
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 150
150 enum cmp_op {PyCmp_LT=Py_LT, PyCmp_LE=Py_LE, PyCmp_EQ=Py_EQ, PyCmp_NE=Py_NE, PyC mp_GT=Py_GT, PyCmp_GE=Py_GE, 151 enum cmp_op {PyCmp_LT=Py_LT, PyCmp_LE=Py_LE, PyCmp_EQ=Py_EQ, PyCmp_NE=Py_NE, PyC mp_GT=Py_GT, PyCmp_GE=Py_GE,
151 PyCmp_IN, PyCmp_NOT_IN, PyCmp_IS, PyCmp_IS_NOT, PyCmp_EXC_MATCH, Py Cmp_BAD}; 152 PyCmp_IN, PyCmp_NOT_IN, PyCmp_IS, PyCmp_IS_NOT, PyCmp_EXC_MATCH, Py Cmp_BAD};
152 153
153 #define HAS_ARG(op) ((op) >= HAVE_ARGUMENT) 154 #define HAS_ARG(op) ((op) >= HAVE_ARGUMENT)
154 155
155 #ifdef __cplusplus 156 #ifdef __cplusplus
156 } 157 }
157 #endif 158 #endif
158 #endif /* !Py_OPCODE_H */ 159 #endif /* !Py_OPCODE_H */
OLDNEW
« no previous file with comments | « Include/code.h ('k') | Include/patchlevel.h » ('j') | no next file with comments »

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