예제 #1
0
 public static HLCallInstruction Create(HLMethod pMethod, HLMethod pCalledMethod, bool pVirtual, HLLocation pReturnDestination, List<HLLocation> pParameterSources)
 {
     HLCallInstruction instruction = new HLCallInstruction(pMethod);
     instruction.mCalledMethod = pCalledMethod;
     instruction.mVirtual = pVirtual;
     instruction.mReturnDestination = pReturnDestination;
     instruction.mParameterSources = new List<HLLocation>(pParameterSources);
     return instruction;
 }
예제 #2
0
        public static HLCallInstruction Create(HLMethod pMethod, HLMethod pCalledMethod, bool pVirtual, HLLocation pReturnDestination, List <HLLocation> pParameterSources)
        {
            HLCallInstruction instruction = new HLCallInstruction(pMethod);

            instruction.mCalledMethod      = pCalledMethod;
            instruction.mVirtual           = pVirtual;
            instruction.mReturnDestination = pReturnDestination;
            instruction.mParameterSources  = new List <HLLocation>(pParameterSources);
            return(instruction);
        }