Merge pull request #1876 from esdrubal/mmf-segfault
[mono.git] / mono / mini / jit-icalls.c
index 1e94b262df7a9a40b61b8501e7aed244a1bc40b2..9b05034f316c7468b614a8474e3ef432c6d31c3c 100644 (file)
@@ -1285,3 +1285,15 @@ mono_generic_class_init (MonoVTable *vtable)
 {
        mono_runtime_class_init (vtable);
 }
+
+gpointer
+mono_fill_class_rgctx (MonoVTable *vtable, int index)
+{
+       return mono_class_fill_runtime_generic_context (vtable, index);
+}
+
+gpointer
+mono_fill_method_rgctx (MonoMethodRuntimeGenericContext *mrgctx, int index)
+{
+       return mono_method_fill_runtime_generic_context (mrgctx, index);
+}