示例#1
0
        /// <summary>
        /// Processes a method call instruction.
        /// </summary>
        /// <param name="ctx">The transformation context.</param>
        private void HandleInvokeInstruction(Context ctx)
        {
            ICallingConvention cc = Architecture.GetCallingConvention(ctx.InvokeTarget.Signature.CallingConvention);

            Debug.Assert(null != cc, @"Failed to retrieve the calling convention.");
            cc.Expand(ctx);
        }