@@ -368,7 +368,7 @@ public abstract static class ToJavaClassNode extends ToJavaObjectNode {
368368 */
369369 @ Builtin (name = "to_char_pointer" , minNumOfPositionalArgs = 1 )
370370 @ GenerateNodeFactory
371- abstract static class TruffleString_AsString extends NativeBuiltin {
371+ abstract static class TruffleStringAsStringNode extends NativeBuiltin {
372372
373373 @ Specialization (guards = "isString(str)" )
374374 static Object run (Object str ,
@@ -471,7 +471,7 @@ static Object run(Object obj,
471471
472472 @ Builtin (name = "PyTruffle_Type" , minNumOfPositionalArgs = 1 )
473473 @ GenerateNodeFactory
474- abstract static class PyTruffle_Type extends NativeBuiltin {
474+ abstract static class PyTruffleTypeNode extends NativeBuiltin {
475475
476476 private static final String [] LOOKUP_MODULES = new String []{
477477 PythonCextBuiltins .PYTHON_CEXT ,
@@ -773,7 +773,7 @@ static Object run(PBaseException exception, Object object,
773773
774774 @ Builtin (name = "PyTruffle_SetAttr" , minNumOfPositionalArgs = 3 )
775775 @ GenerateNodeFactory
776- abstract static class PyObject_Setattr extends PythonTernaryBuiltinNode {
776+ abstract static class PyObjectSetAttrNode extends PythonTernaryBuiltinNode {
777777
778778 abstract Object execute (Object object , String key , Object value );
779779
@@ -863,7 +863,7 @@ private static Object[] collect(MroSequenceStorage mro, int idx) {
863863
864864 @ Builtin (name = "Py_NoValue" )
865865 @ GenerateNodeFactory
866- abstract static class Py_NoValue extends PythonBuiltinNode {
866+ abstract static class PyNoValue extends PythonBuiltinNode {
867867 @ Specialization
868868 static PNone doNoValue () {
869869 return PNone .NO_VALUE ;
@@ -944,7 +944,7 @@ protected static int remaining(ByteBuffer cb) {
944944
945945 @ Builtin (name = "PyTruffle_Unicode_FromWchar" , minNumOfPositionalArgs = 3 )
946946 @ GenerateNodeFactory
947- abstract static class PyTruffle_Unicode_FromWchar extends NativeUnicodeBuiltin {
947+ abstract static class PyTruffleUnicodeFromWcharNode extends NativeUnicodeBuiltin {
948948 @ Child private UnicodeFromWcharNode unicodeFromWcharNode ;
949949 @ Child private CExtNodes .ToNewRefNode toSulongNode ;
950950
@@ -997,7 +997,7 @@ private CExtNodes.ToNewRefNode ensureToSulongNode() {
997997
998998 @ Builtin (name = "PyTruffle_Unicode_FromUTF8" , minNumOfPositionalArgs = 2 )
999999 @ GenerateNodeFactory
1000- abstract static class PyTruffle_Unicode_FromUTF8 extends NativeBuiltin {
1000+ abstract static class PyTruffleUnicodeFromUTF8Node extends NativeBuiltin {
10011001
10021002 @ Specialization
10031003 Object doBytes (VirtualFrame frame , Object o , Object errorMarker ,
@@ -1052,23 +1052,23 @@ Object doUnicode(VirtualFrame frame, @SuppressWarnings("unused") Object s, @Supp
10521052
10531053 @ Builtin (name = "_PyTruffle_Unicode_AsLatin1String" , minNumOfPositionalArgs = 3 )
10541054 @ GenerateNodeFactory
1055- abstract static class _PyTruffle_Unicode_AsLatin1String extends NativeEncoderNode {
1056- protected _PyTruffle_Unicode_AsLatin1String () {
1055+ abstract static class PyTruffleUnicodeAsLatin1StringNode extends NativeEncoderNode {
1056+ protected PyTruffleUnicodeAsLatin1StringNode () {
10571057 super (StandardCharsets .ISO_8859_1 );
10581058 }
10591059 }
10601060
10611061 @ Builtin (name = "_PyTruffle_Unicode_AsASCIIString" , minNumOfPositionalArgs = 3 )
10621062 @ GenerateNodeFactory
1063- abstract static class _PyTruffle_Unicode_AsASCIIString extends NativeEncoderNode {
1064- protected _PyTruffle_Unicode_AsASCIIString () {
1063+ abstract static class PyTruffleUnicodeAsASCIIStringNode extends NativeEncoderNode {
1064+ protected PyTruffleUnicodeAsASCIIStringNode () {
10651065 super (StandardCharsets .US_ASCII );
10661066 }
10671067 }
10681068
10691069 @ Builtin (name = "PyTruffle_Unicode_AsUnicodeAndSize" , minNumOfPositionalArgs = 3 )
10701070 @ GenerateNodeFactory
1071- abstract static class PyTruffle_Unicode_AsUnicodeAndSize extends NativeBuiltin {
1071+ abstract static class PyTruffleUnicodeAsUnicodeAndSizeNode extends NativeBuiltin {
10721072 @ Specialization
10731073 @ TruffleBoundary
10741074 Object doUnicode (PString s ) {
@@ -1085,7 +1085,7 @@ Object doUnicode(PString s) {
10851085 // directly called without landing function
10861086 @ Builtin (name = "PyTruffle_Unicode_DecodeUTF32" , minNumOfPositionalArgs = 5 )
10871087 @ GenerateNodeFactory
1088- abstract static class PyTruffle_Unicode_DecodeUTF32 extends NativeUnicodeBuiltin {
1088+ abstract static class PyTruffleUnicodeDecodeUTF32Node extends NativeUnicodeBuiltin {
10891089
10901090 @ Specialization
10911091 Object doUnicodeStringErrors (VirtualFrame frame , Object o , long size , String errors , int byteorder , Object errorMarker ,
@@ -1127,7 +1127,7 @@ private String decodeUTF32(byte[] data, int size, String errors, int byteorder)
11271127 @ Builtin (name = "PyTruffle_Unicode_AsWideChar" , minNumOfPositionalArgs = 3 )
11281128 @ TypeSystemReference (PythonArithmeticTypes .class )
11291129 @ GenerateNodeFactory
1130- abstract static class PyTruffle_Unicode_AsWideChar extends NativeUnicodeBuiltin {
1130+ abstract static class PyTruffleUnicodeAsWideCharNode extends NativeUnicodeBuiltin {
11311131 @ Specialization
11321132 Object doUnicode (VirtualFrame frame , Object s , long elementSize , Object errorMarker ,
11331133 @ Cached UnicodeAsWideCharNode asWideCharNode ,
@@ -1148,7 +1148,7 @@ Object doUnicode(VirtualFrame frame, Object s, long elementSize, Object errorMar
11481148
11491149 @ Builtin (name = "PyTruffle_Bytes_AsString" , minNumOfPositionalArgs = 2 )
11501150 @ GenerateNodeFactory
1151- abstract static class PyTruffle_Bytes_AsString extends NativeBuiltin {
1151+ abstract static class PyTruffleBytesAsStringNode extends NativeBuiltin {
11521152 @ Specialization
11531153 static Object doBytes (PBytes bytes , @ SuppressWarnings ("unused" ) Object errorMarker ) {
11541154 return new PySequenceArrayWrapper (bytes , 1 );
@@ -1261,7 +1261,7 @@ Object tbHere(String funcname, String filename, int lineno,
12611261
12621262 @ Builtin (name = "PyTruffle_Set_SulongType" , minNumOfPositionalArgs = 2 )
12631263 @ GenerateNodeFactory
1264- abstract static class PyTruffle_Set_SulongType extends NativeBuiltin {
1264+ abstract static class PyTruffleSetSulongTypeNode extends NativeBuiltin {
12651265
12661266 @ Specialization (limit = "1" )
12671267 static Object doPythonObject (PythonClassNativeWrapper klass , Object ptr ,
@@ -1394,7 +1394,7 @@ Object call(Object self, PBuiltinFunction function) {
13941394
13951395 @ Builtin (name = "PyTruffle_Bytes_EmptyWithCapacity" , minNumOfPositionalArgs = 1 )
13961396 @ GenerateNodeFactory
1397- abstract static class PyTruffle_Bytes_EmptyWithCapacity extends PythonUnaryBuiltinNode {
1397+ abstract static class PyTruffleBytesEmptyWithCapacityNode extends PythonUnaryBuiltinNode {
13981398
13991399 @ Specialization
14001400 PBytes doInt (int size ) {
@@ -1707,7 +1707,7 @@ static double doIt(Object object,
17071707
17081708 @ Builtin (name = "PyTruffle_Register_NULL" , minNumOfPositionalArgs = 1 )
17091709 @ GenerateNodeFactory
1710- abstract static class PyTruffle_Register_NULL extends PythonUnaryBuiltinNode {
1710+ abstract static class PyTruffleRegisterNULLNode extends PythonUnaryBuiltinNode {
17111711 @ Specialization
17121712 Object doIt (Object object ) {
17131713 PythonNativeNull nn = getContext ().getNativeNull ();
@@ -1746,7 +1746,7 @@ static PyCFunctionDecorator decorate(Object fun0, Object fun1) {
17461746 @ Builtin (name = "PyType_IsSubtype" , minNumOfPositionalArgs = 2 )
17471747 @ GenerateNodeFactory
17481748 @ ImportStatic (PythonOptions .class )
1749- abstract static class PyType_IsSubtype extends PythonBinaryBuiltinNode {
1749+ abstract static class PyTypeIsSubtypeNode extends PythonBinaryBuiltinNode {
17501750
17511751 @ Specialization (guards = {"a == cachedA" , "b == cachedB" }, assumptions = "singleContextAssumption()" )
17521752 static int doCached (@ SuppressWarnings ("unused" ) VirtualFrame frame , @ SuppressWarnings ("unused" ) PythonNativeWrapper a , @ SuppressWarnings ("unused" ) PythonNativeWrapper b ,
@@ -1790,7 +1790,7 @@ static int doSlow(VirtualFrame frame, Object derived, Object cls) {
17901790 @ Builtin (name = "PyTruffle_Compute_Mro" , minNumOfPositionalArgs = 2 )
17911791 @ GenerateNodeFactory
17921792 @ TypeSystemReference (PythonTypes .class )
1793- public abstract static class PyTruffle_Compute_Mro extends PythonBinaryBuiltinNode {
1793+ public abstract static class PyTruffleComputeMroNode extends PythonBinaryBuiltinNode {
17941794
17951795 @ Specialization (guards = "isNativeObject(self)" )
17961796 Object doIt (Object self , String className ) {
@@ -1817,7 +1817,7 @@ static PDict doGeneric(PythonNativeClass nativeClass) {
18171817 @ Builtin (name = "PyTruffle_Type_Modified" , minNumOfPositionalArgs = 3 )
18181818 @ GenerateNodeFactory
18191819 @ TypeSystemReference (PythonTypes .class )
1820- public abstract static class PyTruffle_Type_Modified extends PythonTernaryBuiltinNode {
1820+ public abstract static class PyTruffleTypeModifiedNode extends PythonTernaryBuiltinNode {
18211821
18221822 @ TruffleBoundary
18231823 @ Specialization (guards = {"isNativeClass(clazz)" , "isNoValue(mroTuple)" })
@@ -1853,7 +1853,7 @@ Object doIt(Object clazz, String name, PTuple mroTuple,
18531853 @ Builtin (name = "PyTruffle_FatalError" , parameterNames = {"prefix" , "msg" , "status" })
18541854 @ GenerateNodeFactory
18551855 @ TypeSystemReference (PythonTypes .class )
1856- public abstract static class PyTruffle_FatalError extends PythonBuiltinNode {
1856+ public abstract static class PyTruffleFatalErrorNode extends PythonBuiltinNode {
18571857
18581858 @ Specialization
18591859 @ TruffleBoundary
@@ -1873,7 +1873,7 @@ Object doGeneric(Object prefixObj, Object msgObj, int status) {
18731873
18741874 @ Builtin (name = "PyTruffle_OS_StringToDouble" , minNumOfPositionalArgs = 2 )
18751875 @ GenerateNodeFactory
1876- abstract static class PyTruffle_OS_StringToDouble extends NativeBuiltin {
1876+ abstract static class PyTruffleOSStringToDoubleNode extends NativeBuiltin {
18771877
18781878 @ Specialization
18791879 Object doGeneric (VirtualFrame frame , String source , int reportPos ) {
@@ -1914,7 +1914,7 @@ private static Number parse(String source) throws ParseException {
19141914 @ Builtin (name = "PyTruffle_OS_DoubleToString" , minNumOfPositionalArgs = 4 )
19151915 @ GenerateNodeFactory
19161916 @ ImportStatic (SpecialMethodNames .class )
1917- abstract static class PyTruffle_OS_DoubleToString extends NativeBuiltin {
1917+ abstract static class PyTruffleOSDoubleToStringNode extends NativeBuiltin {
19181918
19191919 /* keep in sync with macro 'TRANSLATE_TYPE' in 'pystrtod.c' */
19201920 private static final int Py_DTST_FINITE = 0 ;
@@ -2407,7 +2407,7 @@ static Object classOrStatic(String name, Object methObj, int flags, int wrapper,
24072407 @ Specialization (guards = "!isClassOrStaticMethod(flags)" )
24082408 static Object doNativeCallable (String name , Object methObj , int flags , int wrapper , Object type ,
24092409 Object doc , PythonObjectFactory factory ,
2410- @ Cached PyObject_Setattr setattr ,
2410+ @ Cached PyObjectSetAttrNode setattr ,
24112411 @ Shared ("cf" ) @ Cached CreateFunctionNode createFunctionNode ,
24122412 @ Shared ("cstr" ) @ Cached CharPtrToJavaObjectNode cstrPtr ) {
24132413 Object func = createFunctionNode .execute (name , methObj , wrapper , type , flags , factory );
0 commit comments