@@ -507,7 +507,7 @@ Object op5(Object a, Object b, @SuppressWarnings("unused") int op,
507
507
}
508
508
}
509
509
510
- @ Builtin (name = "PyType_Dict" , fixedNumOfArguments = 1 )
510
+ @ Builtin (name = "PyType_Dict" , fixedNumOfPositionalArgs = 1 )
511
511
@ GenerateNodeFactory
512
512
abstract static class PyType_DictNode extends PythonBuiltinNode {
513
513
@ Specialization
@@ -518,7 +518,7 @@ PHashingCollection getDict(PythonNativeClass object) {
518
518
}
519
519
}
520
520
521
- @ Builtin (name = "PyTruffle_SetAttr" , fixedNumOfArguments = 3 )
521
+ @ Builtin (name = "PyTruffle_SetAttr" , fixedNumOfPositionalArgs = 3 )
522
522
@ GenerateNodeFactory
523
523
abstract static class PyObject_Setattr extends PythonBuiltinNode {
524
524
@ Specialization
@@ -1378,7 +1378,7 @@ private static void addToSet(PythonClass base, PythonClass value) {
1378
1378
}
1379
1379
}
1380
1380
1381
- @ Builtin (name = "PyTruffle_GetSetDescriptor" , fixedNumOfArguments = 0 , keywordArguments = {"fget" , "fset" , "name" , "owner" })
1381
+ @ Builtin (name = "PyTruffle_GetSetDescriptor" , keywordArguments = {"fget" , "fset" , "name" , "owner" })
1382
1382
@ GenerateNodeFactory
1383
1383
public abstract static class GetSetDescriptorNode extends PythonBuiltinNode {
1384
1384
@ Specialization
@@ -1397,7 +1397,7 @@ Object call(@SuppressWarnings("unused") PNone get, PythonCallable set, String na
1397
1397
}
1398
1398
}
1399
1399
1400
- @ Builtin (name = "PyTruffle_SeqIter_New" , fixedNumOfArguments = 1 )
1400
+ @ Builtin (name = "PyTruffle_SeqIter_New" , fixedNumOfPositionalArgs = 1 )
1401
1401
@ GenerateNodeFactory
1402
1402
public abstract static class SeqIterNewNode extends PythonBuiltinNode {
1403
1403
@ Specialization
@@ -1406,7 +1406,7 @@ PSequenceIterator call(Object seq) {
1406
1406
}
1407
1407
}
1408
1408
1409
- @ Builtin (name = "PyTruffle_BuiltinMethod" , fixedNumOfArguments = 2 )
1409
+ @ Builtin (name = "PyTruffle_BuiltinMethod" , fixedNumOfPositionalArgs = 2 )
1410
1410
@ GenerateNodeFactory
1411
1411
public abstract static class BuiltinMethodNode extends PythonBuiltinNode {
1412
1412
@ Specialization
@@ -1534,7 +1534,7 @@ public Object execute(VirtualFrame frame) {
1534
1534
}
1535
1535
}
1536
1536
1537
- @ Builtin (name = "METH_KEYWORDS" , fixedNumOfArguments = 1 )
1537
+ @ Builtin (name = "METH_KEYWORDS" , fixedNumOfPositionalArgs = 1 )
1538
1538
@ GenerateNodeFactory
1539
1539
public abstract static class MethKeywordsNode extends PythonUnaryBuiltinNode {
1540
1540
@ TruffleBoundary
@@ -1545,7 +1545,7 @@ Object call(PBuiltinFunction function) {
1545
1545
}
1546
1546
}
1547
1547
1548
- @ Builtin (name = "METH_VARARGS" , fixedNumOfArguments = 1 )
1548
+ @ Builtin (name = "METH_VARARGS" , fixedNumOfPositionalArgs = 1 )
1549
1549
@ GenerateNodeFactory
1550
1550
public abstract static class MethVarargsNode extends PythonUnaryBuiltinNode {
1551
1551
@ TruffleBoundary
@@ -1556,7 +1556,7 @@ Object call(PBuiltinFunction function) {
1556
1556
}
1557
1557
}
1558
1558
1559
- @ Builtin (name = "METH_NOARGS" , fixedNumOfArguments = 1 )
1559
+ @ Builtin (name = "METH_NOARGS" , fixedNumOfPositionalArgs = 1 )
1560
1560
@ GenerateNodeFactory
1561
1561
public abstract static class MethNoargsNode extends PythonUnaryBuiltinNode {
1562
1562
@ TruffleBoundary
@@ -1567,7 +1567,7 @@ Object call(PBuiltinFunction function) {
1567
1567
}
1568
1568
}
1569
1569
1570
- @ Builtin (name = "METH_O" , fixedNumOfArguments = 1 )
1570
+ @ Builtin (name = "METH_O" , fixedNumOfPositionalArgs = 1 )
1571
1571
@ GenerateNodeFactory
1572
1572
public abstract static class MethONode extends PythonUnaryBuiltinNode {
1573
1573
@ TruffleBoundary
@@ -1578,7 +1578,7 @@ Object call(PBuiltinFunction function) {
1578
1578
}
1579
1579
}
1580
1580
1581
- @ Builtin (name = "METH_FASTCALL" , fixedNumOfArguments = 1 )
1581
+ @ Builtin (name = "METH_FASTCALL" , fixedNumOfPositionalArgs = 1 )
1582
1582
@ GenerateNodeFactory
1583
1583
public abstract static class MethFastcallNode extends PythonUnaryBuiltinNode {
1584
1584
@ TruffleBoundary
0 commit comments