Beispiel #1
0
        // <summary>
        // Copies an InternalConstantOp
        // </summary>
        // <param name="op"> The Op to Copy </param>
        // <param name="n"> The Node that references the Op </param>
        // <returns> A copy of the original Node that references a copy of the original Op </returns>
        public override Node Visit(InternalConstantOp op, Node n)
        {
            var newOp = m_destCmd.CreateInternalConstantOp(op.Type, op.Value);

            return(m_destCmd.CreateNode(newOp));
        }