예제 #1
0
        private void InsertOptimiserInfo(int iIndex, String strInfo)
        {
            if (!m_bOptimiserInfo)
            {
                return;
            }

            ScriptInstruction scriptInstruction
                = new ScriptInstruction(Opcode.DBG,
                                        Operand.CreateLiteral(0),
                                        Operand.CreateLiteral("OPTIMIZER: " + strInfo));

            m_scriptExecutable.InstructionsInternal.Insert(
                iIndex, scriptInstruction);
        }