From 21bba770ad75339d67ffbd8ae79c66493308af84 Mon Sep 17 00:00:00 2001 From: Anairkoen Schno Date: Wed, 1 Apr 2020 23:15:13 -0500 Subject: [PATCH] Removed debug messages from generated code --- .../Stores/GeneratedStoreImpl/ConversionDelegates.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/IPA.Loader/Config/Stores/GeneratedStoreImpl/ConversionDelegates.cs b/IPA.Loader/Config/Stores/GeneratedStoreImpl/ConversionDelegates.cs index 0412b68e..1ad9fd12 100644 --- a/IPA.Loader/Config/Stores/GeneratedStoreImpl/ConversionDelegates.cs +++ b/IPA.Loader/Config/Stores/GeneratedStoreImpl/ConversionDelegates.cs @@ -49,8 +49,6 @@ namespace IPA.Config.Stores var GetLocal = MakeLocalAllocator(il); - EmitLogError(il, $"Entered SerializeType delegate for type {type}"); - if (!type.IsValueType) { var notIGeneratedStore = il.DefineLabel(); @@ -69,7 +67,6 @@ namespace IPA.Config.Stores il.MarkLabel(notIGeneratedStore); } - EmitLogError(il, $"Serializing structure of {type}"); EmitSerializeStructure(il, structure, GetLocal, loadObject, loadParent); il.Emit(OpCodes.Ret); @@ -116,11 +113,8 @@ namespace IPA.Config.Stores il.Emit(OpCodes.Isinst, IGeneratedStore_t); } - EmitLogError(il, $"Entered DeserializeType delegate for type {type}"); - if (!type.IsValueType) { - EmitLogError(il, $"Forwarding to created type serialization"); EmitCreateChildGenerated(il, type, ParentObj); il.Emit(OpCodes.Dup); il.Emit(OpCodes.Castclass, IGeneratedStore_t); @@ -140,8 +134,6 @@ namespace IPA.Config.Stores var nonNull = il.DefineLabel(); - EmitLogError(il, $"Deserializing structure of {type}"); - il.Emit(OpCodes.Ldarg_0); il.Emit(OpCodes.Brtrue, nonNull);