diff options
-rw-r--r-- | mono/metadata/icall.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/mono/metadata/icall.c b/mono/metadata/icall.c index 03752fd9730..624e550f1ce 100644 --- a/mono/metadata/icall.c +++ b/mono/metadata/icall.c @@ -1814,12 +1814,7 @@ ves_icall_RuntimeTypeHandle_is_subclass_of (MonoType *childType, MonoType *baseT MonoClass *baseClass; childClass = mono_class_from_mono_type (childType); - mono_class_init_checked (childClass, error); - goto_if_nok (error, done); - baseClass = mono_class_from_mono_type (baseType); - mono_class_init_checked (baseClass, error); - goto_if_nok (error, done); if (G_UNLIKELY (childType->byref)) { result = !baseType->byref && baseClass == mono_defaults.object_class; |