C# Class System.Xml.Xsl.IlGen.TailCallAnalyzer

This analyzer walks each function in the graph and annotates Invoke nodes which can be compiled using the IL .tailcall instruction. This instruction will discard the current stack frame before calling the new function.
Show file Open project: gbarnett/shared-source-cli-2.0

Public Methods

Method Description
Analyze ( QilExpression qil ) : void

Perform tail-call analysis on the functions in the specified QilExpression.

Private Methods

Method Description
AnalyzeDefinition ( QilNode nd ) : void

Recursively analyze the definition of a function.

Method Details

Analyze() public static method

Perform tail-call analysis on the functions in the specified QilExpression.
public static Analyze ( QilExpression qil ) : void
qil System.Xml.Xsl.Qil.QilExpression
return void