Tue, 14 Oct 2014 15:28:24 +0200 8012518: Reengineer Parser.java to make it play well with the copy-on-write IR.
lagergren [Tue, 14 Oct 2014 15:28:24 +0200] rev 27102
8012518: Reengineer Parser.java to make it play well with the copy-on-write IR. Summary: Remove the kludges introduced to make the parser work with the copy on write IR. Now everything is done bottom up, finshing node children completely before node parents. The repeated non-functional pattern 'node = node.setSomething(something);' is gone. Resulting code is much more readable, and extensible for future work. The parser is now also consistent with the rest of the stateless copy-on-write world in code generation. Reviewed-by: lagergren, attila, hannesw, shade Contributed-by: andreas.gabrielsson@oracle.com
(0) -10000 -3000 -1000 -300 -100 -30 -10 -1 +1 +10 +30 +100 +300 +1000 +3000 +10000 +30000 tip