internal static UnaryInstruction GetInstruction(OpCodes opcode) { UnaryInstruction result = _knownInstructions[(int)opcode]; if (null == result) { throw new ArgumentException(); } return(result); }
private static void RegisterKnownInstruction(OpCodes opcode, BuiltinLanguageType type) { _knownInstructions[(int)opcode] = new UnaryInstruction(opcode, type); }