gboolean res;
MonoError error;
- // FIXME: Handle errors
res = init_method (amodule, method_index, NULL, NULL, NULL, &error);
- g_assert (res);
+ // FIXME: Pass the exception up to the caller ?
+ /* Its okay to raise in llvmonly mode */
+ mono_error_raise_exception (&error);
}
void
g_assert (context);
res = init_method (amodule, method_index, NULL, klass, context, &error);
- g_assert (res);
+ mono_error_raise_exception (&error);
}
void
context.method_inst = rgctx->method_inst;
res = init_method (amodule, method_index, NULL, rgctx->class_vtable->klass, &context, &error);
- g_assert (res);
+ mono_error_raise_exception (&error);
}
void
g_assert (context);
res = init_method (amodule, method_index, NULL, klass, context, &error);
- g_assert (res);
+ mono_error_raise_exception (&error);
}
/*