Closed RobertObkircher closed 2 months ago
Right, compute already does that. I guess it can also be removed from CProjNode
in future chapters.
A potential problem with this change is that peephole now replaces with a new XCtrlNode()
instead of Parser.XCTRL;
Minor inefficiency: "new XCtrlNode().peephole()" will return "Parser.XCTRL" after making the Node then GVN'ing it.
I think that case should even be moved into
compute
.