Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJay Krell <jay.krell@cornell.edu>2018-12-05 23:27:44 +0300
committerGitHub <noreply@github.com>2018-12-05 23:27:44 +0300
commit460c8b4c1653158661c7b4e3df3e6b138770c348 (patch)
treedbfcda59f6e90654511c3a719c90225324050bf4 /tools
parent45407470dbc82a0a7ce3df65126bd3bcca8934f3 (diff)
Split mono_class_init into mono_class_init and mono_class_init_internal, add GC mode transition to first. (#11121)
mono_class_init_internal is what mono_class_init was. mono_class_init *adds* missing GC mode transitions and calls mono_class_init_internal. Replace mono_class_init with mono_class_init_internal.
Diffstat (limited to 'tools')
-rw-r--r--tools/pedump/pedump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pedump/pedump.c b/tools/pedump/pedump.c
index 1e7bc3cb3c1..c87ae85cd39 100644
--- a/tools/pedump/pedump.c
+++ b/tools/pedump/pedump.c
@@ -523,7 +523,7 @@ verify_image_file (const char *fname)
mono_error_cleanup (error);
continue;
}
- mono_class_init (klass);
+ mono_class_init_internal (klass);
if (mono_class_has_failure (klass)) {
ERROR_DECL (type_load_error);
mono_error_set_for_class_failure (type_load_error, klass);