예제 #1
0
        public static BoundBlockStatement Lower(FunctionSymbol function, BoundStatement statement)
        {
            var lowerer = new Lowerer();
            var result  = lowerer.RewriteStatement(statement);

            return(RemoveDeadCode(Flatten(function, result)));
        }
예제 #2
0
파일: Lowerer.cs 프로젝트: teschty/minsk
        public static BoundBlockStatement Lower(BoundStatement statement)
        {
            var lowerer = new Lowerer();
            var result  = lowerer.RewriteStatement(statement);

            return(Flatten(result));
        }