do_mono_image_load (MonoImage *image, MonoImageOpenStatus *status,
gboolean care_about_cli, gboolean care_about_pecoff)
{
+ MonoCLIImageInfo *iinfo;
+ MonoDotNetHeader *header;
GSList *errors = NULL;
mono_profiler_module_event (image, MONO_PROFILE_START_LOAD);
mono_image_init (image);
+ iinfo = image->image_info;
+ header = &iinfo->cli_header;
+
if (status)
*status = MONO_IMAGE_IMAGE_INVALID;
}
free_hash (image->native_wrapper_cache);
+ free_hash (image->native_wrapper_aot_cache);
+ free_hash (image->native_wrapper_check_cache);
+ free_hash (image->native_wrapper_aot_check_cache);
free_hash (image->native_func_wrapper_cache);
free_hash (image->managed_wrapper_cache);
free_hash (image->delegate_begin_invoke_cache);
free_hash (image->thunk_invoke_cache);
free_hash (image->var_cache_slow);
free_hash (image->mvar_cache_slow);
+ free_hash (image->var_cache_constrained);
+ free_hash (image->mvar_cache_constrained);
free_hash (image->wrapper_param_names);
- free_hash (image->native_wrapper_aot_cache);
free_hash (image->pinvoke_scopes);
free_hash (image->pinvoke_scope_filenames);
for (i = 0; i < image->gshared_types_len; ++i)