Skip to content

Commit

Permalink
Revert "[tools] Don't call mono_marshal_ilgen_init in .NET. (xamarin#…
Browse files Browse the repository at this point in the history
…15788)"

This reverts commit aa55ea9.
  • Loading branch information
rolfbjarne committed Aug 29, 2022
1 parent 6d30413 commit 89fce4e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tools/common/Target.cs
Original file line number Diff line number Diff line change
Expand Up @@ -744,9 +744,7 @@ void GenerateIOSMain (StringWriter sw, Abi abi)
if (app.UseInterpreter) {
sw.WriteLine ("extern \"C\" { void mono_ee_interp_init (const char *); }");
sw.WriteLine ("extern \"C\" { void mono_icall_table_init (void); }");
#if !NET
sw.WriteLine ("extern \"C\" { void mono_marshal_ilgen_init (void); }");
#endif
sw.WriteLine ("extern \"C\" { void mono_method_builder_ilgen_init (void); }");
sw.WriteLine ("extern \"C\" { void mono_sgen_mono_ilgen_init (void); }");
}
Expand All @@ -771,9 +769,7 @@ void GenerateIOSMain (StringWriter sw, Abi abi)
sw.WriteLine ("\tmono_jit_set_aot_mode (MONO_AOT_MODE_LLVMONLY);");
else if (app.UseInterpreter) {
sw.WriteLine ("\tmono_icall_table_init ();");
#if !NET
sw.WriteLine ("\tmono_marshal_ilgen_init ();");
#endif
sw.WriteLine ("\tmono_method_builder_ilgen_init ();");
sw.WriteLine ("\tmono_sgen_mono_ilgen_init ();");
#if !NET
Expand Down

0 comments on commit 89fce4e

Please sign in to comment.