public static BoundNode Analyze( BoundNode node, Dictionary<LocalSymbol, LocalDefUseInfo> locals, ArrayBuilder<ValueTuple<BoundExpression, ExprContext>> evalStack, bool debugFriendly) { var analyzer = new StackOptimizerPass1(locals, evalStack, debugFriendly); var rewritten = analyzer.Visit(node); return rewritten; }
public static BoundNode Analyze(BoundNode node, Dictionary<LocalSymbol, LocalDefUseInfo> locals) { var analyser = new StackOptimizerPass1(locals); var rewritten = analyser.Visit(node); return rewritten; }