/// <summary> /// Provides code to load address of an element of an array onto the evaluation stack. /// </summary> /// <param name="elemType">type of an array element to load address.</param> /// <returns>Array of instructions (code) to perform the operation.</returns> public IEnumerable <IInstruction> GetElemPtr(IType elemType) { var code = new AbcCode(_abc); code.GetElemPtr(elemType); _body.Flags |= AbcBodyFlags.HasElemPointers; return(code); }