diff --git a/src/mono/mono/mini/aot-compiler.c b/src/mono/mono/mini/aot-compiler.c index 605cec84cde5d8..ba5a366832145b 100644 --- a/src/mono/mono/mini/aot-compiler.c +++ b/src/mono/mono/mini/aot-compiler.c @@ -14894,12 +14894,6 @@ aot_assembly (MonoAssembly *ass, guint32 jit_opts, MonoAotOptions *aot_options) TV_GETTIME (btv); acfg->stats.jit_time = GINT64_TO_INT (TV_ELAPSED (atv, btv)); - // Current implementation uses dedup_methods hash table for storing extra methods which are emitted in a dedup AOT image. - // Previously, cfg->skip flag in dedup_skip_methods is used for indicating if a method should be emitted in an AOT image. - // Method dedup_skip_methods is used only for wasm. -#ifdef TARGET_WASM - dedup_skip_methods (acfg); -#endif if (acfg->dedup_collect_only) { /* We only collected methods from this assembly */ acfg_free (acfg); diff --git a/src/mono/mono/mini/aot-runtime.c b/src/mono/mono/mini/aot-runtime.c index f25c1f2d4485dc..683fee00852e75 100644 --- a/src/mono/mono/mini/aot-runtime.c +++ b/src/mono/mono/mini/aot-runtime.c @@ -4492,8 +4492,6 @@ inst_is_private (MonoGenericInst *inst) gboolean mono_aot_can_dedup (MonoMethod *method) { - // Dedup enabled for wasm and iOS -#if defined(TARGET_WASM) || defined(TARGET_IOS) /* Use a set of wrappers/instances which work and useful */ switch (method->wrapper_type) { case MONO_WRAPPER_RUNTIME_INVOKE: @@ -4541,12 +4539,6 @@ mono_aot_can_dedup (MonoMethod *method) return TRUE; } return FALSE; -#else - gboolean not_normal_gshared = method->is_inflated && !mono_method_is_generic_sharable_full (method, TRUE, FALSE, FALSE); - gboolean extra_method = (method->wrapper_type != MONO_WRAPPER_NONE) || not_normal_gshared; - - return extra_method; -#endif } diff --git a/src/mono/msbuild/apple/build/AppleApp.props b/src/mono/msbuild/apple/build/AppleApp.props index 14045c53611f8e..b86e481943d732 100644 --- a/src/mono/msbuild/apple/build/AppleApp.props +++ b/src/mono/msbuild/apple/build/AppleApp.props @@ -2,7 +2,7 @@ true - true + true