Exemplo n.º 1
0
        private static CIL_Function BuilderException(CoolExceptionType exception)
        {
            var function = CIL_Factory.DefineFunction($"{exception}");

            function.CodeGenerator.AddInstruction(
                new CIL_Exception(exception));
            return(function);
        }
Exemplo n.º 2
0
 public CIL_Exception(CoolExceptionType type) => Type = type;