@@ -1876,7 +1876,7 @@ Object strNoArgs(LazyPythonClass strClass, PNone arg, PNone encoding, PNone erro
1876
1876
1877
1877
@ Specialization (guards = {"!isNativeClass(strClass)" , "!isNoValue(obj)" , "isNoValue(encoding)" , "isNoValue(errors)" })
1878
1878
Object strOneArg (LazyPythonClass strClass , Object obj , @ SuppressWarnings ("unused" ) PNone encoding , @ SuppressWarnings ("unused" ) PNone errors ,
1879
- @ CachedLibrary (limit = "1 " ) PythonObjectLibrary lib ) {
1879
+ @ CachedLibrary (limit = "2 " ) PythonObjectLibrary lib ) {
1880
1880
Object result = lib .asPString (obj );
1881
1881
1882
1882
// try to return a primitive if possible
@@ -1923,7 +1923,7 @@ private Object decodeBytes(VirtualFrame frame, LazyPythonClass strClass, PBytes
1923
1923
Object doNativeSubclass (@ SuppressWarnings ("unused" ) VirtualFrame frame , PythonNativeClass cls , Object obj , @ SuppressWarnings ("unused" ) Object encoding ,
1924
1924
@ SuppressWarnings ("unused" ) Object errors ,
1925
1925
@ Cached @ SuppressWarnings ("unused" ) IsSubtypeNode isSubtype ,
1926
- @ CachedLibrary (limit = "1 " ) PythonObjectLibrary lib ,
1926
+ @ CachedLibrary (limit = "2 " ) PythonObjectLibrary lib ,
1927
1927
@ Cached CExtNodes .StringSubtypeNew subtypeNew ) {
1928
1928
return subtypeNew .call (cls , lib .asPString (obj ));
1929
1929
}
0 commit comments