コード例 #1
0
 /// <summary>
 /// Creates an indirect call instruction from the given operator,
 /// an index into the 'type' table and a value for the reserved field.
 /// </summary>
 /// <param name="op">The operator for this instruction.</param>
 /// <param name="typeIndex">The index of the callee's signature in the type table.</param>
 /// <param name="reserved">A reserved value, which should always be zero.</param>
 public CallIndirectInstruction(CallIndirectOperator op, uint typeIndex, uint reserved)
 {
     this.opValue   = op;
     this.TypeIndex = typeIndex;
     this.Reserved  = reserved;
 }
コード例 #2
0
 /// <summary>
 /// Creates an indirect call instruction from the given operator and
 /// an index into the 'type' table.
 /// </summary>
 /// <param name="op">The operator for this instruction.</param>
 /// <param name="typeIndex">The index of the callee's signature in the type table.</param>
 public CallIndirectInstruction(CallIndirectOperator op, uint typeIndex)
     : this(op, typeIndex, 0)
 {
 }