dillon1000/react
Commit
Browse files Collapse BuildReactiveFunction/TreeVisitor
Collapses HIRTReeVisitor into BuildReactiveFunction, allowing us to remove the generic interface and simplify the code. Note that because the visitor was already not attempting to group instructions by scope anymore, the visitor code was very straightforward. This is mostly replacing calls to `appendBlock(block, instr)` with `block.push(instr)`.
Changed paths2 files
First-parent comparisoncompiler/forget/src/HIR/HIRTreeVisitor.ts DeletedM compiler/forget/src/ReactiveScopes/BuildReactiveFunction.ts ModifiedPatch
Files changed
Rendering syntax-highlighted changes…