43
43
import static com .oracle .graal .python .builtins .objects .cext .structs .CFields .PyAsyncMethods__am_aiter ;
44
44
import static com .oracle .graal .python .builtins .objects .cext .structs .CFields .PyAsyncMethods__am_anext ;
45
45
import static com .oracle .graal .python .builtins .objects .cext .structs .CFields .PyAsyncMethods__am_await ;
46
- import static com .oracle .graal .python .builtins .objects .cext .structs .CFields .PyNumberMethods__nb_absolute ;
47
- import static com .oracle .graal .python .builtins .objects .cext .structs .CFields .PyNumberMethods__nb_floor_divide ;
48
46
import static com .oracle .graal .python .builtins .objects .cext .structs .CFields .PyNumberMethods__nb_inplace_add ;
49
47
import static com .oracle .graal .python .builtins .objects .cext .structs .CFields .PyNumberMethods__nb_inplace_and ;
50
48
import static com .oracle .graal .python .builtins .objects .cext .structs .CFields .PyNumberMethods__nb_inplace_floor_divide ;
57
55
import static com .oracle .graal .python .builtins .objects .cext .structs .CFields .PyNumberMethods__nb_inplace_subtract ;
58
56
import static com .oracle .graal .python .builtins .objects .cext .structs .CFields .PyNumberMethods__nb_inplace_true_divide ;
59
57
import static com .oracle .graal .python .builtins .objects .cext .structs .CFields .PyNumberMethods__nb_inplace_xor ;
60
- import static com .oracle .graal .python .builtins .objects .cext .structs .CFields .PyNumberMethods__nb_invert ;
61
- import static com .oracle .graal .python .builtins .objects .cext .structs .CFields .PyNumberMethods__nb_negative ;
62
- import static com .oracle .graal .python .builtins .objects .cext .structs .CFields .PyNumberMethods__nb_positive ;
63
58
import static com .oracle .graal .python .builtins .objects .cext .structs .CFields .PyNumberMethods__nb_power ;
64
59
import static com .oracle .graal .python .builtins .objects .cext .structs .CFields .PyTypeObject__tp_as_number ;
65
60
import static com .oracle .graal .python .builtins .objects .cext .structs .CFields .PyTypeObject__tp_call ;
70
65
import static com .oracle .graal .python .builtins .objects .cext .structs .CFields .PyTypeObject__tp_repr ;
71
66
import static com .oracle .graal .python .builtins .objects .cext .structs .CFields .PyTypeObject__tp_richcompare ;
72
67
import static com .oracle .graal .python .builtins .objects .cext .structs .CFields .PyTypeObject__tp_str ;
73
- import static com .oracle .graal .python .nodes .SpecialMethodNames .T___ABS__ ;
74
68
import static com .oracle .graal .python .nodes .SpecialMethodNames .T___AITER__ ;
75
69
import static com .oracle .graal .python .nodes .SpecialMethodNames .T___ANEXT__ ;
76
70
import static com .oracle .graal .python .nodes .SpecialMethodNames .T___AWAIT__ ;
77
71
import static com .oracle .graal .python .nodes .SpecialMethodNames .T___CALL__ ;
78
- import static com .oracle .graal .python .nodes .SpecialMethodNames .T___FLOORDIV__ ;
79
72
import static com .oracle .graal .python .nodes .SpecialMethodNames .T___HASH__ ;
80
73
import static com .oracle .graal .python .nodes .SpecialMethodNames .T___IADD__ ;
81
74
import static com .oracle .graal .python .nodes .SpecialMethodNames .T___IAND__ ;
84
77
import static com .oracle .graal .python .nodes .SpecialMethodNames .T___IMOD__ ;
85
78
import static com .oracle .graal .python .nodes .SpecialMethodNames .T___IMUL__ ;
86
79
import static com .oracle .graal .python .nodes .SpecialMethodNames .T___INIT__ ;
87
- import static com .oracle .graal .python .nodes .SpecialMethodNames .T___INVERT__ ;
88
80
import static com .oracle .graal .python .nodes .SpecialMethodNames .T___IOR__ ;
89
81
import static com .oracle .graal .python .nodes .SpecialMethodNames .T___IPOW__ ;
90
82
import static com .oracle .graal .python .nodes .SpecialMethodNames .T___IRSHIFT__ ;
91
83
import static com .oracle .graal .python .nodes .SpecialMethodNames .T___ISUB__ ;
92
84
import static com .oracle .graal .python .nodes .SpecialMethodNames .T___ITER__ ;
93
85
import static com .oracle .graal .python .nodes .SpecialMethodNames .T___ITRUEDIV__ ;
94
86
import static com .oracle .graal .python .nodes .SpecialMethodNames .T___IXOR__ ;
95
- import static com .oracle .graal .python .nodes .SpecialMethodNames .T___NEG__ ;
96
87
import static com .oracle .graal .python .nodes .SpecialMethodNames .T___NEXT__ ;
97
- import static com .oracle .graal .python .nodes .SpecialMethodNames .T___POS__ ;
98
88
import static com .oracle .graal .python .nodes .SpecialMethodNames .T___POW__ ;
99
89
import static com .oracle .graal .python .nodes .SpecialMethodNames .T___REPR__ ;
100
90
import static com .oracle .graal .python .nodes .SpecialMethodNames .T___STR__ ;
@@ -128,8 +118,6 @@ public enum SlotMethodDef {
128
118
// (mq) AM_SEND is an internal function and mostly called from within AWAIT, AITER, ANEXT.
129
119
/*- AM_SEND(PyAsyncMethods__am_send, ASYNC_AM_SEND, TernaryFunctionWrapper::new, MethodsFlags.AM_SEND), */
130
120
131
- NB_ABSOLUTE (PyNumberMethods__nb_absolute , T___ABS__ , UnaryFuncLegacyWrapper ::new , MethodsFlags .NB_ABSOLUTE ),
132
- NB_FLOOR_DIVIDE (PyNumberMethods__nb_floor_divide , T___FLOORDIV__ , BinaryFuncWrapper ::new , MethodsFlags .NB_FLOOR_DIVIDE ),
133
121
NB_INPLACE_ADD (PyNumberMethods__nb_inplace_add , T___IADD__ , BinaryFuncWrapper ::new , MethodsFlags .NB_INPLACE_ADD ),
134
122
NB_INPLACE_AND (PyNumberMethods__nb_inplace_and , T___IAND__ , BinaryFuncWrapper ::new , MethodsFlags .NB_INPLACE_AND ),
135
123
NB_INPLACE_FLOOR_DIVIDE (PyNumberMethods__nb_inplace_floor_divide , T___IFLOORDIV__ , BinaryFuncWrapper ::new , MethodsFlags .NB_INPLACE_FLOOR_DIVIDE ),
@@ -142,9 +130,6 @@ public enum SlotMethodDef {
142
130
NB_INPLACE_SUBTRACT (PyNumberMethods__nb_inplace_subtract , T___ISUB__ , BinaryFuncWrapper ::new , MethodsFlags .NB_INPLACE_SUBTRACT ),
143
131
NB_INPLACE_TRUE_DIVIDE (PyNumberMethods__nb_inplace_true_divide , T___ITRUEDIV__ , BinaryFuncWrapper ::new , MethodsFlags .NB_INPLACE_TRUE_DIVIDE ),
144
132
NB_INPLACE_XOR (PyNumberMethods__nb_inplace_xor , T___IXOR__ , BinaryFuncWrapper ::new , MethodsFlags .NB_INPLACE_XOR ),
145
- NB_INVERT (PyNumberMethods__nb_invert , T___INVERT__ , UnaryFuncLegacyWrapper ::new , MethodsFlags .NB_INVERT ),
146
- NB_NEGATIVE (PyNumberMethods__nb_negative , T___NEG__ , UnaryFuncLegacyWrapper ::new , MethodsFlags .NB_NEGATIVE ),
147
- NB_POSITIVE (PyNumberMethods__nb_positive , T___POS__ , UnaryFuncLegacyWrapper ::new , MethodsFlags .NB_POSITIVE ),
148
133
NB_POWER (PyNumberMethods__nb_power , T___POW__ , TernaryFunctionWrapper ::new , MethodsFlags .NB_POWER );
149
134
150
135
public final TruffleString methodName ;
@@ -178,7 +163,6 @@ public enum SlotMethodDef {
178
163
static {
179
164
initGroup (
180
165
PyTypeObject__tp_as_number ,
181
- NB_ABSOLUTE ,
182
166
NB_INPLACE_ADD ,
183
167
NB_INPLACE_AND ,
184
168
NB_INPLACE_FLOOR_DIVIDE ,
@@ -191,9 +175,6 @@ public enum SlotMethodDef {
191
175
NB_INPLACE_SUBTRACT ,
192
176
NB_INPLACE_TRUE_DIVIDE ,
193
177
NB_INPLACE_XOR ,
194
- NB_INVERT ,
195
- NB_NEGATIVE ,
196
- NB_POSITIVE ,
197
178
NB_POWER );
198
179
}
199
180
0 commit comments