示例#1
0
 public InvokeInstruction(LType returnType, Value pointer, IEnumerable <Argument> arguments, LabelValue normalLabel, LabelValue exceptionLabel)
 {
     ReturnType     = returnType;
     Pointer        = pointer;
     Arguments      = arguments.ToArray();
     NormalLabel    = normalLabel;
     ExceptionLabel = exceptionLabel;
 }
示例#2
0
 public SwitchCase(TypedConstant value, LabelValue label)
 {
     Value = value;
     Label = label;
 }
示例#3
0
 public SwitchInstruction(TypedValue value, LabelValue pointer, IEnumerable <SwitchCase> cases)
 {
     Value        = value;
     DefaultLabel = pointer;
     Cases        = cases.ToArray();
 }
示例#4
0
 public UnconditionalBrInstruction(LabelValue destination)
 {
     Destination = destination;
 }
示例#5
0
 public ConditionalBrInstruction(Value condition, LabelValue ifTrue, LabelValue ifFalse)
 {
     Condition = condition;
     IfTrue    = ifTrue;
     IfFalse   = ifFalse;
 }