public static HLLabelInstruction Create(HLMethod pMethod, HLLabel pLabel) { HLLabelInstruction instruction = new HLLabelInstruction(pMethod); instruction.mLabel = pLabel; return(instruction); }
public static HLGotoInstruction Create(HLMethod pMethod, HLLabel pTargetLabel) { HLGotoInstruction instruction = new HLGotoInstruction(pMethod); instruction.mTargetLabel = pTargetLabel; return(instruction); }
public static HLBranchInstruction Create(HLMethod pMethod, HLLocation pConditionSource, HLLabel pTrueLabel, HLLabel pFalseLabel) { HLBranchInstruction instruction = new HLBranchInstruction(pMethod); instruction.mConditionSource = pConditionSource; instruction.mTrueLabel = pTrueLabel; instruction.mFalseLabel = pFalseLabel; return instruction; }
public static HLSwitchInstruction Create(HLMethod pMethod, HLLocation pConditionSource, HLLabel pDefaultLabel, List<Tuple<HLLiteralLocation, HLLabel>> pCases) { HLSwitchInstruction instruction = new HLSwitchInstruction(pMethod); instruction.mConditionSource = pConditionSource; instruction.mDefaultLabel = pDefaultLabel; instruction.mCases = new List<Tuple<HLLiteralLocation, HLLabel>>(pCases); return instruction; }
public static HLGotoInstruction Create(HLMethod pMethod, HLLabel pTargetLabel) { HLGotoInstruction instruction = new HLGotoInstruction(pMethod); instruction.mTargetLabel = pTargetLabel; return instruction; }
public static HLSwitchInstruction Create(HLMethod pMethod, HLLocation pConditionSource, HLLabel pDefaultLabel, List <Tuple <HLLiteralLocation, HLLabel> > pCases) { HLSwitchInstruction instruction = new HLSwitchInstruction(pMethod); instruction.mConditionSource = pConditionSource; instruction.mDefaultLabel = pDefaultLabel; instruction.mCases = new List <Tuple <HLLiteralLocation, HLLabel> >(pCases); return(instruction); }
public static HLBranchInstruction Create(HLMethod pMethod, HLLocation pConditionSource, HLLabel pTrueLabel, HLLabel pFalseLabel) { HLBranchInstruction instruction = new HLBranchInstruction(pMethod); instruction.mConditionSource = pConditionSource; instruction.mTrueLabel = pTrueLabel; instruction.mFalseLabel = pFalseLabel; return(instruction); }
public static HLLabelInstruction Create(HLMethod pMethod, HLLabel pLabel) { HLLabelInstruction instruction = new HLLabelInstruction(pMethod); instruction.mLabel = pLabel; return instruction; }