@@ -847,7 +847,7 @@ Object py_dl_sym(VirtualFrame frame, Object obj, Object name,
847
847
848
848
@ Builtin (name = "_dyld_shared_cache_contains_path" , minNumOfPositionalArgs = 1 )
849
849
@ GenerateNodeFactory
850
- protected abstract static class DyldSharedCacheConstainsPath extends PythonBinaryBuiltinNode {
850
+ protected abstract static class DyldSharedCacheContainsPath extends PythonBinaryBuiltinNode {
851
851
@ CompilationFinal private static boolean hasDynamicLoaderCacheValue = false ;
852
852
@ CompilationFinal private static boolean hasDynamicLoaderCacheInit = false ;
853
853
@@ -882,14 +882,14 @@ Object py_dyld_shared_pstring(VirtualFrame frame, PString ppath,
882
882
@ Cached TruffleString .ParseLongNode parseLongNode ,
883
883
@ Cached TruffleString .SubstringNode substringNode ,
884
884
@ Cached TruffleString .SwitchEncodingNode switchEncodingNode ) {
885
- return py_dyld_shared_cache_contains_path (frame , ppath .getValueUncached (). toJavaStringUncached () , ilib , codePointLengthNode , formatNode , parseLongNode , substringNode , switchEncodingNode );
885
+ return py_dyld_shared_cache_contains_path (frame , ppath .getValueUncached (), ilib , codePointLengthNode , formatNode , parseLongNode , substringNode , switchEncodingNode );
886
886
}
887
887
888
888
@ CompilationFinal Object cachedFunction = null ;
889
889
890
890
// TODO: 'path' might need to be processed using FSConverter.
891
891
@ Specialization
892
- Object py_dyld_shared_cache_contains_path (VirtualFrame frame , String path ,
892
+ Object py_dyld_shared_cache_contains_path (VirtualFrame frame , TruffleString path ,
893
893
@ CachedLibrary (limit = "1" ) InteropLibrary ilib ,
894
894
@ Cached TruffleString .CodePointLengthNode codePointLengthNode ,
895
895
@ Cached StringUtils .SimpleTruffleStringFormatNode formatNode ,
@@ -1360,13 +1360,13 @@ void _call_function_pointer(int flags,
1360
1360
if (restype == null) {
1361
1361
throw raise(RuntimeError, NO_FFI_TYPE_FOR_RESULT);
1362
1362
}
1363
-
1363
+
1364
1364
int cc = FFI_DEFAULT_ABI;
1365
1365
ffi_cif cif;
1366
1366
if (FFI_OK != ffi_prep_cif(&cif, cc, argcount, restype, atypes)) {
1367
1367
throw raise(RuntimeError, FFI_PREP_CIF_FAILED);
1368
1368
}
1369
-
1369
+
1370
1370
Object error_object = null;
1371
1371
if ((flags & (FUNCFLAG_USE_ERRNO | FUNCFLAG_USE_LASTERROR)) != 0) {
1372
1372
error_object = state.errno;
0 commit comments