private static CIL_Function BuilderException(CoolExceptionType exception) { var function = CIL_Factory.DefineFunction($"{exception}"); function.CodeGenerator.AddInstruction( new CIL_Exception(exception)); return(function); }
public CIL_Exception(CoolExceptionType type) => Type = type;