Ejemplo n.º 1
0
        /// <summary>
        /// Calculate number of words to fit complete instruction bytecode.
        /// </summary>
        /// <returns>Number of words in instruction bytecode.</returns>
        public override uint GetWordCount()
        {
            uint wordCount = 0;

            wordCount += MergeBlock.GetWordCount();
            wordCount += SelectionControl.GetWordCount();
            return(wordCount);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Calculate number of words to fit complete instruction bytecode.
        /// </summary>
        /// <returns>Number of words in instruction bytecode.</returns>
        public override uint GetWordCount()
        {
            uint wordCount = 0;

            wordCount += MergeBlock.GetWordCount();
            wordCount += ContinueTarget.GetWordCount();
            wordCount += LoopControl.GetWordCount();
            return(wordCount);
        }