protected override void Visit_LOOP(LOOP node) { LinkedList <GNode> savelist = breaks; breaks = new LinkedList <GNode>(); GNode save = last; Visit(node.statements); last.successors.AddLast(save); last = new GNode(node, null, this); foreach (GNode g in breaks) { g.successors.AddLast(last); } breaks = savelist; }
protected override void Visit_LOOP(LOOP node) { /* MOVE CODE HERE */ }
protected virtual void Visit_LOOP(LOOP node) { }