diff --git a/src/MoonSharp.Interpreter/Execution/InstructionFieldUsage.cs b/src/MoonSharp.Interpreter/Execution/InstructionFieldUsage.cs index e64f1335..59922930 100644 --- a/src/MoonSharp.Interpreter/Execution/InstructionFieldUsage.cs +++ b/src/MoonSharp.Interpreter/Execution/InstructionFieldUsage.cs @@ -26,7 +26,6 @@ internal static InstructionFieldUsage GetFieldUsage(this OpCode op) case OpCode.Scalar: case OpCode.IterUpd: case OpCode.IterPrep: - case OpCode.NewTable: case OpCode.Concat: case OpCode.LessEq: case OpCode.Less: @@ -44,6 +43,7 @@ internal static InstructionFieldUsage GetFieldUsage(this OpCode op) case OpCode.ToBool: return InstructionFieldUsage.None; case OpCode.Pop: + case OpCode.NewTable: case OpCode.Copy: case OpCode.TblInitI: case OpCode.ExpTuple: diff --git a/src/MoonSharp.Interpreter/Execution/VM/Processor/Processor_BinaryDump.cs b/src/MoonSharp.Interpreter/Execution/VM/Processor/Processor_BinaryDump.cs index 549ee9d3..e6479e99 100644 --- a/src/MoonSharp.Interpreter/Execution/VM/Processor/Processor_BinaryDump.cs +++ b/src/MoonSharp.Interpreter/Execution/VM/Processor/Processor_BinaryDump.cs @@ -11,7 +11,7 @@ namespace MoonSharp.Interpreter.Execution.VM sealed partial class Processor { const ulong DUMP_CHUNK_MAGIC = 0x1A0D234E4F4F4D1D; - const int DUMP_CHUNK_VERSION = 0x150; + const int DUMP_CHUNK_VERSION = 0x151; internal static bool IsDumpStream(Stream stream) {