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; }
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); }