- Notifications
You must be signed in to change notification settings - Fork 31.7k
/
Copy pathopcode.h
43 lines (38 loc) · 1.55 KB
/
opcode.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#ifndefPy_OPCODE_H
#definePy_OPCODE_H
#ifdef__cplusplus
extern"C" {
#endif
#include"opcode_ids.h"
#defineNB_ADD 0
#defineNB_AND 1
#defineNB_FLOOR_DIVIDE 2
#defineNB_LSHIFT 3
#defineNB_MATRIX_MULTIPLY 4
#defineNB_MULTIPLY 5
#defineNB_REMAINDER 6
#defineNB_OR 7
#defineNB_POWER 8
#defineNB_RSHIFT 9
#defineNB_SUBTRACT 10
#defineNB_TRUE_DIVIDE 11
#defineNB_XOR 12
#defineNB_INPLACE_ADD 13
#defineNB_INPLACE_AND 14
#defineNB_INPLACE_FLOOR_DIVIDE 15
#defineNB_INPLACE_LSHIFT 16
#defineNB_INPLACE_MATRIX_MULTIPLY 17
#defineNB_INPLACE_MULTIPLY 18
#defineNB_INPLACE_REMAINDER 19
#defineNB_INPLACE_OR 20
#defineNB_INPLACE_POWER 21
#defineNB_INPLACE_RSHIFT 22
#defineNB_INPLACE_SUBTRACT 23
#defineNB_INPLACE_TRUE_DIVIDE 24
#defineNB_INPLACE_XOR 25
#defineNB_SUBSCR 26
#defineNB_OPARG_LAST 26
#ifdef__cplusplus
}
#endif
#endif/* !Py_OPCODE_H */