Esempio n. 1
0
        public static LLSwitchInstruction Create(LLFunction pFunction, LLLocation pConditionSource, LLLabel pDefaultTargetLabel, List <LLSwitchCase> pCases)
        {
            LLSwitchInstruction instruction = new LLSwitchInstruction(pFunction);

            instruction.mConditionSource    = pConditionSource;
            instruction.mDefaultTargetLabel = pDefaultTargetLabel;
            instruction.mCases = new List <LLSwitchCase>(pCases);
            return(instruction);
        }
 public static LLSwitchInstruction Create(LLFunction pFunction, LLLocation pConditionSource, LLLabel pDefaultTargetLabel, List<LLSwitchCase> pCases)
 {
     LLSwitchInstruction instruction = new LLSwitchInstruction(pFunction);
     instruction.mConditionSource = pConditionSource;
     instruction.mDefaultTargetLabel = pDefaultTargetLabel;
     instruction.mCases = new List<LLSwitchCase>(pCases);
     return instruction;
 }