Exemple #1
0
        private void ScheduleReferenceMethods(InlineMethodData previous)
        {
            var current = MethodData.GetInlineMethodData();

            // If previous was not inlined and current is not inline, do nothing
            if (!current.IsInlined && !previous.IsInlined)
            {
                foreach (var method in previous.References)
                {
                    MethodData.GetInlineMethodDataForUseBy(method);
                }

                return;
            }

            // If previous or current is inline, schedule all references from previous
            MethodScheduler.AddToRecompileQueue(previous.References);
        }