internal void IncludeSequence(BoundSpillSequence2 ss) { if (ss != null) { AddRange(ss.Locals); AddRange(ss.Statements); ss.Free(); } }
internal void IncludeSequence(BoundSpillSequence2 ss) { if (ss != null) { AddRange(ss.Locals); AddRange(ss.Statements); ss.Free(); } }
private static BoundExpression UpdateExpression(BoundSpillSequence2 ss, BoundExpression expression) { if (ss == null) { return(expression); } Debug.Assert(ss.Value == null); if (ss.Locals.Length == 0 && ss.Statements.Length == 0) { ss.Free(); return(expression); } return(ss.Update(expression)); }
private BoundStatement UpdateStatement(BoundSpillSequence2 ss, BoundStatement stmt) { if (ss == null) { Debug.Assert(stmt != null); return(stmt); } Debug.Assert(ss.Value == null); if (stmt != null) { ss.Add(stmt); } var result = F.Block(ss.Locals, ss.Statements); ss.Free(); return(result); }
private BoundStatement UpdateStatement(BoundSpillSequence2 ss, BoundStatement stmt) { if (ss == null) { Debug.Assert(stmt != null); return stmt; } Debug.Assert(ss.Value == null); if (stmt != null) ss.Add(stmt); var result = F.Block(ss.Locals, ss.Statements); ss.Free(); return result; }
private static BoundExpression UpdateExpression(BoundSpillSequence2 ss, BoundExpression expression) { if (ss == null) return expression; Debug.Assert(ss.Value == null); if (ss.Locals.Length == 0 && ss.Statements.Length == 0) { ss.Free(); return expression; } return ss.Update(expression); }