Prevent NRE with instructions with no arguments

This commit is contained in:
Yoshi Askharoun
2023-05-24 17:48:16 -05:00
parent f0b6b00531
commit d2543e5bea
@@ -17,6 +17,8 @@ public class InterpreterEntry
if (args != null && args.Length > 0) if (args != null && args.Length > 0)
Arguments = args; Arguments = args;
else
Arguments = new List<OpCodeArgument>();
} }
public OpCode OpCode { get; } public OpCode OpCode { get; }