Esempio n. 1
0
 private static GetFieldPointerPrototype DecodeGetFieldPointer(IReadOnlyList <LNode> data, DecoderState state)
 {
     return(GetFieldPointerPrototype.Create(state.DecodeField(data[0])));
 }
 /// <summary>
 /// Creates a get-field-pointer instruction.
 /// </summary>
 /// <param name="field">
 /// The field to create a pointer to.
 /// </param>
 /// <param name="basePointer">
 /// A value that includes <paramref name="field"/>.
 /// </param>
 /// <returns>A get-field-pointer instruction.</returns>
 public static Instruction CreateGetFieldPointer(
     IField field,
     ValueTag basePointer)
 {
     return(GetFieldPointerPrototype.Create(field).Instantiate(basePointer));
 }