summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'src/StardewModdingAPI/Framework')
-rw-r--r--src/StardewModdingAPI/Framework/AssemblyLoader.cs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/StardewModdingAPI/Framework/AssemblyLoader.cs b/src/StardewModdingAPI/Framework/AssemblyLoader.cs
index d5e8f5ee..0cf6e569 100644
--- a/src/StardewModdingAPI/Framework/AssemblyLoader.cs
+++ b/src/StardewModdingAPI/Framework/AssemblyLoader.cs
@@ -5,7 +5,6 @@ using System.Linq;
using System.Reflection;
using Mono.Cecil;
using Mono.Cecil.Cil;
-using Mono.Cecil.Rocks;
using StardewModdingAPI.AssemblyRewriters;
namespace StardewModdingAPI.Framework
@@ -195,7 +194,6 @@ namespace StardewModdingAPI.Framework
continue;
// prepare method
- method.Body.SimplifyMacros();
ILProcessor cil = method.Body.GetILProcessor();
// rewrite instructions
@@ -206,7 +204,6 @@ namespace StardewModdingAPI.Framework
}
// finalise method
- method.Body.OptimizeMacros();
anyRewritten = true;
}