dillon1000/react
Commit
Browse files [be] Move phi aliasing to InferAliasForPhis
InferMutableRangesForAlias is about extending the mutable ranges, not for updating the alias sets. Let's refactor this into a separate pass. InferMutableRangesForAlias was iterating over alias sets and not the HIR so this refactor isn't costing us any additional perf cost (in terms of an extra iteration over the HIR).
Changed paths3 files
First-parent comparisoncompiler/forget/src/Inference/InferAliasForPhis.ts AddedM compiler/forget/src/Inference/InferMutableRanges.ts ModifiedM compiler/forget/src/Inference/InferMutableRangesForAlias.ts ModifiedPatch
Files changed
Rendering syntax-highlighted changes…