Commit b97c461
committed
Tree Transformer&TreeTransform:
1) using fast tracks in case node type isn't altered by Transformation;
2) using pre-computed hints(nxTransformXXX arrays) to quickly jump to next transformation interested in transforming particular Tree type;
3) using pre-computed hints(nxPrepareXXX arrays) to know which transformations are going to 'prepare' for transforming particular Tree type;
4) recomputing those hints in case some transformation changed implementation class during 'prepare';
5) TreeTransform is now responsible of calling transformFollowing on nodes created by it.1 parent 092456b commit b97c461
File tree
2 files changed
+1255
-0
lines changed- src/dotty/tools/dotc/transform
- test/test/transform
2 files changed
+1255
-0
lines changed
0 commit comments