bool HandleAnd(ConstValue constLeft, ConstValue constRight, List <LocalOperation> localOperations,
                       int pos)
        {
            var result = ComputeConstantOperator.ComputeAnd(constLeft, constRight);

            return(FoldConstant(result, localOperations, pos));
        }
Exemple #2
0
        private void HandleAnd(ConstValue constLeft, ConstValue constRight, List <LocalOperation> localOperations,
                               int pos)
        {
            var result = ComputeConstantOperator.ComputeAnd(constLeft, constRight);

            FoldConstant(result, localOperations, pos);
        }
        bool HandleConvFloat(ConstValue constLeft, List <LocalOperation> localOperations, int pos)
        {
            var result = ComputeConstantOperator.ComputeFloat(constLeft);

            return(FoldConstant(result, localOperations, pos));
        }
Exemple #4
0
        private void HandleConvFloat(ConstValue constLeft, List <LocalOperation> localOperations, int pos)
        {
            var result = ComputeConstantOperator.ComputeFloat(constLeft);

            FoldConstant(result, localOperations, pos);
        }