223
223
import com .oracle .graal .python .builtins .objects .getsetdescriptor .GetSetDescriptor ;
224
224
import com .oracle .graal .python .builtins .objects .ints .PInt ;
225
225
import com .oracle .graal .python .builtins .objects .iterator .PSequenceIterator ;
226
+ import com .oracle .graal .python .builtins .objects .list .ListBuiltins ;
226
227
import com .oracle .graal .python .builtins .objects .list .ListBuiltins .ListExtendNode ;
227
228
import com .oracle .graal .python .builtins .objects .list .ListBuiltins .ListInsertNode ;
228
229
import com .oracle .graal .python .builtins .objects .list .ListBuiltins .ListSortNode ;
242
243
import com .oracle .graal .python .builtins .objects .set .SetNodes .DiscardNode ;
243
244
import com .oracle .graal .python .builtins .objects .str .NativeCharSequence ;
244
245
import com .oracle .graal .python .builtins .objects .str .PString ;
245
- <<<<<<< HEAD
246
246
import com .oracle .graal .python .builtins .objects .str .StringBuiltins ;
247
- =======
248
247
import com .oracle .graal .python .builtins .objects .str .StringBuiltins .EncodeNode ;
249
248
import com .oracle .graal .python .builtins .objects .str .StringBuiltins .ModNode ;
250
- >>>>>>> intrinsified python_cext PyBytes_XXX
251
249
import com .oracle .graal .python .builtins .objects .traceback .GetTracebackNode ;
252
250
import com .oracle .graal .python .builtins .objects .traceback .LazyTraceback ;
253
251
import com .oracle .graal .python .builtins .objects .traceback .PTraceback ;
@@ -1309,30 +1307,10 @@ public Object values(VirtualFrame frame, Object obj,
1309
1307
}
1310
1308
1311
1309
@ Builtin (name = "Py_DECREF" , minNumOfPositionalArgs = 1 )
1312
- @ GenerateNodeFactory
1313
- public abstract static class PyDECREFNode extends PythonUnaryBuiltinNode {
1314
- @ SuppressWarnings ("unused" )
1315
- @ Specialization
1316
- public Object values (Object obj ) {
1317
- // pass
1318
- return PNone .NONE ;
1319
- }
1320
- }
1321
-
1322
1310
@ Builtin (name = "Py_INCREF" , minNumOfPositionalArgs = 1 )
1323
- @ GenerateNodeFactory
1324
- public abstract static class PyINCREFNode extends PythonUnaryBuiltinNode {
1325
- @ SuppressWarnings ("unused" )
1326
- @ Specialization
1327
- public Object values (Object obj ) {
1328
- // pass
1329
- return PNone .NONE ;
1330
- }
1331
- }
1332
-
1333
1311
@ Builtin (name = "Py_XINCREF" , minNumOfPositionalArgs = 1 )
1334
1312
@ GenerateNodeFactory
1335
- public abstract static class PyXINCREFNode extends PythonUnaryBuiltinNode {
1313
+ public abstract static class PyChangeREFNode extends PythonUnaryBuiltinNode {
1336
1314
@ SuppressWarnings ("unused" )
1337
1315
@ Specialization
1338
1316
public Object values (Object obj ) {
@@ -1341,16 +1319,6 @@ public Object values(Object obj) {
1341
1319
}
1342
1320
}
1343
1321
1344
- @ Builtin (name = "PyObject_LEN" , minNumOfPositionalArgs = 1 )
1345
- @ GenerateNodeFactory
1346
- public abstract static class PyLenNode extends PythonUnaryBuiltinNode {
1347
- @ Specialization
1348
- public Object values (VirtualFrame frame , Object obj ,
1349
- @ Cached PyObject_Size sizeNode ) {
1350
- return sizeNode .execute (frame , obj );
1351
- }
1352
- }
1353
-
1354
1322
///////////// set, frozenset /////////////
1355
1323
1356
1324
@ Builtin (name = "PySet_New" , minNumOfPositionalArgs = 1 )
0 commit comments