Exemplo n.º 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;
 }
Exemplo n.º 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);
        }