public void Complete() { Statements = StatementList.ToArray(); Jumps = JumpList.ToArray(); LocalTypes = LocalTypeList.ToArray(); StatementList = null; JumpList = null; LocalTypeList = null; VarMap = null; LabelMap = null; }
int LabelUndefined = 0; // Number of labels awaiting definition. // Statement preparation ( compile phase ). public void Init() { Statements = null; Jumps = null; LocalTypes = null; StatementList = new G.List <System.Action>(); JumpList = new G.List <int>(); LocalTypeList = new G.List <DataType>(); VarMap = new G.Dictionary <string, int>(); LabelMap = new G.Dictionary <string, int>(); }