Browse Source

Refactor: remove MethodImplOptions.AggressiveOptimization from VM

Akeit0 11 months ago
parent
commit
a17f4e6c4d
1 changed files with 0 additions and 3 deletions
  1. 0 3
      src/Lua/Runtime/LuaVirtualMachine.cs

+ 0 - 3
src/Lua/Runtime/LuaVirtualMachine.cs

@@ -240,9 +240,6 @@ public static partial class LuaVirtualMachine
         State state;
         PostOperationType postOperation;
 
-#if NET6_0_OR_GREATER
-        [MethodImpl(MethodImplOptions.AggressiveOptimization)]
-#endif
         public void MoveNext()
         {
             // If the state is end, the function is done, so set the result and return. I think this state is not reachable in this implementation