/// <summary>
        /// Emits the instructions of this method.
        /// </summary>
        /// <param name="codeGen">The code generator.</param>
        public void EmitInstructions(CodeGenerator codeGen)
        {
            // Init.
            mContext.Init();
            createLocals();

            for (int i = 0; i < mContext.Branches.Length; i++)
            {
                Branch branch = mContext.Branches[i];
                if (branch != null)
                {
                    emitInstructionsInBranch(codeGen, branch);
                }
            }
        }