]> git.sesse.net Git - movit/commitdiff
Make Phase take other Phases as inputs, not Nodes.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 17 Mar 2014 23:57:53 +0000 (00:57 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 18 Mar 2014 00:00:49 +0000 (01:00 +0100)
This was a refactoring I wanted to do for a while, but actually finding
the right structure was a bit tricky. In the process, the entire phase
generation logic was rewritten, but the separation between compilation
and Phase construction is much cleaner now, and the logic in general
is easier to follow with more use of explicit recursion.

I'm still not 100% happy about what might be overuse of output_node;
we still need to link Phase and Node (the link just goes the other way
now), but I'm not sure we need to use it in all the cases we currently do.


No differences found