[mono/mono] 6633bf16: [aot] Add the JIT icall wrappers later, so it can pick up the JIT icalls registered by the managed allocators.
| Newsgroups | gmane.comp.gnome.mono.patches |
|---|---|
| Message-ID | <00000141cc9a7693-101e5633-6d72-4758-943c-06ba47b55551-000000@email.amazonses.com> |
Branch: refs/heads/master
Home: https://github.com/mono/mono
Compare: https://github.com/mono/mono/compare/8ff186652fae...6633bf16973e
Commit: 6633bf16973eae3ded9dbd0fade9355653f3539e
Author: Zoltan Varga <[email protected]> (vargaz)
Date: 2013-10-18 17:25:09 GMT
URL: https://github.com/mono/mono/commit/6633bf16973eae3ded9dbd0fade9355653f3539e
[aot] Add the JIT icall wrappers later, so it can pick up the JIT icalls registered by the managed allocators.
Changed paths:
M mono/mini/aot-compiler.c
Modified: mono/mini/aot-compiler.c
===================================================================
@@ -3340,10 +3340,6 @@ struct _ReadOnlyValue {
add_method (acfg, mono_marshal_get_runtime_invoke_dynamic ());
#endif
- /* JIT icall wrappers */
- /* FIXME: locking */
- g_hash_table_foreach (mono_get_jit_icall_info (), add_jit_icall_wrapper, acfg);
-
/* stelemref */
add_method (acfg, mono_marshal_get_stelemref ());
@@ -3407,6 +3403,10 @@ struct _ReadOnlyValue {
}
}
#endif
+
+ /* JIT icall wrappers */
+ /* FIXME: locking */
+ g_hash_table_foreach (mono_get_jit_icall_info (), add_jit_icall_wrapper, acfg);
}
/*
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches